Skip to content
This repository was archived by the owner on Nov 14, 2021. It is now read-only.

scmn-dev/ps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ps

ps displays data about all running processes in the current mount namespace.

Build

  1. to build run make .
  2. to install it run make install.

Listing Processes:

./ps | head -n5

USER     PID    PPID   CPU     ELAPSED          TTY    TIME   COMMAND
root     7      1      0.000   29m26.0628125s   tty1   0s     /init
root     7      1      0.000   29m26.0640173s   tty1   0s     /init
abdfnx   8      7      0.000   29m26.0640615s   tty1   0s     -bash
abdfnx   317    8      0.290   28m44.0652407s   tty1   5s     zsh

Display Different Format Descriptors:

./ps -format "pid, user, group, tty" | head -n5

PID    USER     GROUP    TTY
1      root     root     tty1
7      root     root     tty1
8      abdfnx   abdfnx   tty1
317    abdfnx   abdfnx   tty1

About

docker ps in go.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy