lkml.org 
[lkml]   [1999]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
Subjectwhere in /proc/<pid> to put new stuff?
Hi,

In my hierarchical fair CPU scheduler (link below) I need to publish
some extra information for each process (the number of the leaf node
it belongs to). I guess this should go in /proc/<pid> somewhere, but
where exactly? Right now I add an extra line to /proc/<pid>/status so
it looks like this:

Name: tcsh
State: S (sleeping)
Pid: 620
PPid: 618
PNode: 1 <--------------
Uid: 6404 6404 6404 6404
Gid: 6400 6400 6400 6400

What is the correct place to put this in order to make integration
with procps easier? Also, should I have this info available in a
system call or is the /proc interface enough?

Thanks for any comments,
Borislav
http://people.cornell.edu/pages/bdd2/hsfq/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.131 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site