how to view my own process in a multiuser envrionment


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers how to view my own process in a multiuser envrionment
# 1  
Old 11-15-2006
how to view my own process in a multiuser envrionment

Hi ,

I am new to unix , tell me how can I check which all are the processes which were started by me or under my account , its a multiuser enviornment , I tried with ps -f , but it does not give me the complete answer , it gives me which shells I hv opened like tht , I want the processes like which I started in shell itself like cscope or make or like tht ....

I think tht u can understand my problem with the above #$@ description

-TIA
Vishal
# 2  
Old 11-15-2006
Have you tryied :

Code:
ps --user <user>

Smilie
# 3  
Old 11-15-2006
thanx for this command . Is it possible for me to view all the details about the process like , if its make than what was the file I was making ... and so as with other such commands.

-TIA
# 4  
Old 11-15-2006
It's hard to tell what make's doing from watching make in ps, there's no "I AM NOW DOING Z" string that it constantly changes for your convenience. On some systems you might be able to tell what a process is waiting on, if anything, but that doesn't sound quite like what you're after. You can see the commands it spawns as it does things, though. These are often short-lived and easy to miss from a single ps listing. Try 'top -u user' to watch things more realtime-like.
# 5  
Old 11-15-2006
truss command can help you to find out the behaviour of a process.
Take the process id and do truss on it.

Check man pages for truss
justsam
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

Moving from Desktop View to Mobile View

See attached video for a demo on how to move back and forth from the desktop view to the mobile view. Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on. Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies

2. UNIX for Dummies Questions & Answers

View User Mode Call Stack of Hung Process

I have a multithreaded usermode program(actually a daemon) which is in hanged state. To debug it I tried attaching the process to gdb, but the gdb hangs. gstack also gets hanged. I peeped into the proc file system and saw the process to be in sleeping state. /proc/sysrq-trigger I guess... (1 Reply)
Discussion started by: rupeshkp728
1 Replies

3. Shell Programming and Scripting

command history of a particular user in a multiuser environment

Is it possible to find out the history of recently typed in commands of a particular user in a multi user system? the history command expects a numeric argument with it. is it possible to find out the history o commands of a particular user say John_smith for example? (2 Replies)
Discussion started by: arindamlive
2 Replies

4. UNIX for Advanced & Expert Users

How to view Ramdisk Initialization Process

Dear all, I read some articles about initrd, but how to view this process in my computer :(? Is there anyway to display to the screen or write to the log file? (3 Replies)
Discussion started by: Hannibal2010
3 Replies

5. UNIX for Advanced & Expert Users

View process history

Hi, Is there any way to view process history. Suppose I had killed a few procs yesterday and now I want to see what were the procs that were running yesterday? (2 Replies)
Discussion started by: King Nothing
2 Replies

6. UNIX for Dummies Questions & Answers

view others process

Hello, I hope this is an easy question. I have a few users who login through SSH and some times their bash session is using 100% cpu even though its been "idle" according to who for several days. I would like to know what command the user ran in their bash session to peg the cpu out but am... (6 Replies)
Discussion started by: taheri6
6 Replies

7. UNIX for Dummies Questions & Answers

How to secure PHP in multiuser environment?

Hello. Could you please suggest the ways, by which one can prevent PHP users from reading other webroots? So far I know two ways: Apache mod_suexec and suphp. But it seems, they both require running PHP as a CGI, right? In this case I will be unable to benefit from APC (php opcache). I am... (4 Replies)
Discussion started by: FractalizeR
4 Replies

8. UNIX for Dummies Questions & Answers

How to view my IP

I run Ubuntu server 7.04, to learn some *nix. I set up LAMP, DNS and FTP but I don't know how to view my ip. now I tried ifconfig but that didnt tell me what I wanted to know. so by what way can I do this without a gui and a website like ipchicken? (14 Replies)
Discussion started by: blowFish@ubuntu
14 Replies

9. Programming

multiuser chat server closes when one client closes. code included

I have been trying to write a very basic chat program but at the moment I am having problems getting it to be multiuser as it closes all connections when one client shutsdown. I have also been having problems trying to get the program to display a list of usernames to the clients. I have tried... (0 Replies)
Discussion started by: dooker
0 Replies
Login or Register to Ask a Question