Results 1 to 2 of 2
Hi all,
I realized that the contents of /proc/ pid for my rhel4 & 5 servers are all 0 bytes. I am expecting there to have information on the process ...
- 08-05-2010 #1Just Joined!
- Join Date
- Aug 2010
- Posts
- 1
query on /proc/pid
Hi all,
I realized that the contents of /proc/pid for my rhel4 & 5 servers are all 0 bytes. I am expecting there to have information on the process memory usage etc. Why is it that all these information are not reflected?
For example:
[root@pss1devwls1d 1]# ls -al
total 0
dr-xr-xr-x 3 root root 0 May 17 17:34 .
dr-xr-xr-x 1054 root root 0 May 18 01:34 ..
dr-xr-xr-x 2 root root 0 Aug 5 10:04 attr
-r-------- 1 root root 0 Aug 5 10:18 auxv
-r--r--r-- 1 root root 0 Aug 5 10:10 cmdline
-rw-r--r-- 1 root root 0 Aug 5 10:18 coredump_filter
lrwxrwxrwx 1 root root 0 Aug 5 10:18 cwd -> /
-r-------- 1 root root 0 Aug 5 10:10 environ
lrwxrwxrwx 1 root root 0 Aug 5 10:18 exe -> /sbin/init
dr-x------ 2 root root 0 Aug 5 10:04 fd
-r--r--r-- 1 root root 0 Aug 5 10:18 io
-r-------- 1 root root 0 Aug 5 10:18 limits
-rw-r--r-- 1 root root 0 Aug 5 10:18 loginuid
-r--r--r-- 1 root root 0 Aug 5 10:18 maps
-rw------- 1 root root 0 Aug 5 10:18 mem
-r--r--r-- 1 root root 0 Aug 5 10:18 mounts
-r-------- 1 root root 0 Aug 5 10:18 mountstats
-r--r--r-- 1 root root 0 Aug 5 10:18 numa_maps
lrwxrwxrwx 1 root root 0 Aug 5 10:18 root -> /
-r-------- 1 root root 0 Aug 5 10:18 smaps
-r--r--r-- 1 root root 0 Aug 5 10:10 stat
-r--r--r-- 1 root root 0 Aug 5 10:18 statm
-r--r--r-- 1 root root 0 Aug 5 10:10 status
dr-xr-xr-x 3 root root 0 Aug 5 10:04 task
-r--r--r-- 1 root root 0 Aug 5 10:18 wchan
[root@pss1devwls1d 1]# pwd
/proc/1
- 08-05-2010 #2
Try the ps command for memory usage.
orCode:ps -AH v
For headers to be placed at the top of each page.Code:ps -AH v --headers
You'll need to google for what the headers mean but RSS is resident memory


Reply With Quote