Unix ps -a

Posted on 2006-06-06
Last Modified: 2008-03-10
If I do "ps -a" in unix I can see a number of processes. Are all these process running in my unix account or does these belong to other users. Because I can see process that I started and I also see process that unix may have started or other users may have started, thats why I want to make sure that the ps command returns only process in my account.
Thank you for all the help in advance:-)
Question by:atwork2003
    LVL 1

    Accepted Solution

    Hi atwork2003,

    I believe if you use:

    ps U username

    Where username is your unix username, then it will show just the processes for your account.

    Good Luck!

    LVL 2

    Expert Comment



    What unix are you using? Solaris? HPUX? Linux?


    Author Comment

    aliby19 you are right, I used command:
    ps -U (username)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap ( Version 1.2 2.      Jpcap( Version 0.6 Prerequisite: 1.      GCC …
    About FreeBSD Jails In FreeBSD, jails are a way of doing operating system level virtualization.  The basis of FreeBSD jails is chroot (, which changes the root directory of processes.  As a…
    This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
    Video by: Phil
    This video goes over how to configure and start a jail in FreeBSD.  This video is meant to supplement the article included with this course.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now