Skip to content

SFCOMPY™ :: Computer Repair Blog :: IT Blog

  • .HOME
  • .CATEGORIES
    • Ads
    • Audio
    • Booting
    • Data Recovery
    • Drivers
    • Data Recovery
    • File System
    • Hardware
    • Network
    • OS
    • Software
    • Security
    • System
    • User Account
    • Utility
    • Video
    • Web Browser
  • .MY ACCOUNT
  • .ABOUT
    • .Privacy Policy
    • .Terms
  • .SFCOMPY™
  • Toggle search form
sfcompy-spend-hours-ad
  • InMotion! Shared Hosting Landing Page Ads
  • NameCheap Web Security QR SFCOMPY
    #ChooseNamecheap Web Security -Internet protection for you and your customers Ads
  • sfcompy-inmotion-cyber-month
    InMotion Hosting – Cyber Week/Month Ads
  • Namecheap! Transfer .COM and save 16% Ads
  • sfcompy namecheap ninja-black Friday deals
    NameCheap Black Friday: Web Ninjas unite! Ads

Find the Running Process of a Given User – MacOS CLI

Posted on June 14, 2021December 1, 2021 By SFCOMPY™ Editor No Comments on Find the Running Process of a Given User – MacOS CLI
sfcompy_blog_412x331

It’s a great and simple security check tool to find which running process belongs to users that have never officially logged in or never got any authorization to log in. this will provide you some good idea about any hidden system resources consumed by the unofficially\unauthorized logged-in User, resources such as CPU time, Memory, Network band…etc

# replace the 'username' with the user name that you like to inspect
 
bash> au=($(ps -U username -o pid= ))

# print the results 
bash> echo $au

# To get some idea about the specific process ID 
# (replace the pid_num with the pid number that you like to check)

bash> ps -vfM pid_num

Result Example (pid=299): 


Related posts:

  • sfcompu_macosx_login_412x331Hide or Show mac Login User - MacOS CLI
  • sfcompy_macosx_usersGet the User's List - MacOS CLI
  • sfcompy-zip-archive-and-comoressZip or UnZip files and folders - MacOS CLI
OS, Security, User Account Tags:All Macs, Command Line (CLI), iMac, Mac Mini, MacBook, Pro and Advance User

Post navigation

Previous Post: Create a Sudo User – MacOS CLI
Next Post: Show Hidden files – MacOS CLI

Leave a Reply Cancel reply

You must be logged in to post a comment.

InMotion Hosting - Cyber Week/Month Dedicated Hosting Landing Page

Recent Posts

  • sfcompy-protected-zip-filePassword Protected Zip file – MacOS CLI
    July 16, 2021
  • sfcompy-zip-archive-and-comoressZip or UnZip files and folders – MacOS CLI
    July 13, 2021
  • sfcompy_blog_412x331Show Hidden files – MacOS CLI
    June 23, 2021

InMotion Shared Hosting Landing Page Sale

InMotion WordPress Hosting Landing Page Sale

InMotion Reseller Hosting Landing Page

Categories

  • Ads (5)
  • Data Recovery (1)
  • File System (3)
  • Network (4)
  • OS (3)
  • Security (9)
  • Software (1)
  • System (3)
  • User Account (5)
  • Utility (4)
  • Video (1)
  • Web Browser (1)

Tag

All Ads (4) All Android (2) All IOS (2) All Linux (2) All Macs (12) All Windows (4) Command Line (CLI) (8) iMac (8) InMotion (2) mac (1) MacBook (8) Mac Mini (8) namecheap (2) Pro and Advance User (7) Standard or local User (1)
January 2026
M T W T F S S
 1234
567891011
12131415161718
19202122232425
262728293031  
« Mar    
  • Sign a pdf file Using Microsoft Edge
  • InMotion Hosting – Cyber Week/Month
  • NameCheap Black Friday: Web Ninjas unite!
  • #ChooseNamecheap Web Security -Internet protection for you and your customers
  • InMotion! Shared Hosting Landing Page

  • Sign a pdf file Using Microsoft Edge
  • InMotion Hosting – Cyber Week/Month
  • NameCheap Black Friday: Web Ninjas unite!
  • #ChooseNamecheap Web Security -Internet protection for you and your customers
  • InMotion! Shared Hosting Landing Page
  • Sign a pdf file Using Microsoft Edge
  • sfcompy-inmotion-cyber-monthInMotion Hosting – Cyber Week/Month
  • sfcompy namecheap ninja-black Friday dealsNameCheap Black Friday: Web Ninjas unite!
  • NameCheap Web Security QR SFCOMPY#ChooseNamecheap Web Security -Internet protection for you and your customers
  • InMotion! Shared Hosting Landing Page
  • sfcompy-inmotion-cyber-month
    InMotion Hosting – Cyber Week/Month Ads
  • sfcompy-protected-zip-file
    Password Protected Zip file – MacOS CLI File System
  • sfcompy_macosx_users
    Get the User’s List – MacOS CLI User Account
  • Sign a pdf file Using Microsoft Edge Software
  • sfcompy_blog_412x331
    Show Hidden files – MacOS CLI File System
  • sfcompy_macosx_suso_user
    Create a Sudo User – MacOS CLI Security
  • sfcompy-zip-archive-and-comoress
    Zip or UnZip files and folders – MacOS CLI Data Recovery
  • Namecheap! Transfer .COM and save 16% Ads
  • About
  • Cart
  • Category
  • Checkout
  • Computer Repair & IT Service Blog
  • My account
  • Post Page
  • Privacy Policy
  • Shop
  • Terms

Copyright © 2026 SFCOMPY™ Computer Repair & IT Blog .

Powered by SFCOMPY™ WP Theme for Pro WordPress theme