ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/examples/process_snapshot.c
(Generate patch)

Comparing projects/libstatgrab/examples/process_snapshot.c (file contents):
Revision 1.9 by tdb, Wed Apr 7 15:50:25 2004 UTC vs.
Revision 1.10 by ats, Thu Apr 8 13:16:04 2004 UTC

# Line 47 | Line 47 | int main(){
47                  exit(1);
48          }
49  
50 +        qsort(ps, ps_size, sizeof *ps, sg_process_compare_pid);
51 +
52          printf("%5s %5s %5s %5s %5s %5s %5s %6s %6s %9s %-10s %-4s %-8s %-20s %s\n",
53                  "pid", "ppid", "pgid", "uid", "euid", "gid", "egid", "size", "res", "time", "cpu", "nice", "state", "name", "title");
54  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines