Results 1 to 4 of 4
hi guys
i m new to unix and its really awesome
i need to obtain only the id of a process
ps -C "name"
gives me a long string and ...
- 06-09-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 6
process id
hi guys
i m new to unix and its really awesome
i need to obtain only the id of a process
ps -C "name"
gives me a long string and i cann't store tht
how can i obtain its id only
- 06-09-2009 #2Just Joined!
- Join Date
- Jun 2009
- Posts
- 6
pls help me out
- 06-09-2009 #3
Try using:
pgrep process_name- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 06-12-2009 #4
how about using ps -el and then searching for the process id
Only if I could understand the man pages
Registered Linux user #492640
OS: RHEL4,5 ,RH 9,Ubuntu


Reply With Quote
