1 |
|
/* |
2 |
|
* i-scream central monitoring system |
3 |
< |
* http://www.i-scream.org.uk |
4 |
< |
* Copyright (C) 2000-2002 i-scream |
3 |
> |
* http://www.i-scream.org |
4 |
> |
* Copyright (C) 2000-2003 i-scream |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or |
7 |
|
* modify it under the terms of the GNU General Public License |
73 |
|
int procs; |
74 |
|
#endif |
75 |
|
|
76 |
– |
#if defined(SOLARIS) || defined(LINUX) |
76 |
|
process_stat.sleeping=0; |
77 |
|
process_stat.running=0; |
78 |
|
process_stat.zombie=0; |
79 |
|
process_stat.stopped=0; |
80 |
|
process_stat.total=0; |
81 |
|
|
82 |
+ |
#if defined(SOLARIS) || defined(LINUX) |
83 |
|
if((proc_dir=opendir(PROC_LOCATION))==NULL){ |
84 |
|
return NULL; |
85 |
|
} |