I want to check out the source code for commands such as ps. It seems to be impossible to search LXR (linux.no) for "ps". Where do I find it?
Ps belongs to
procps-ng, git repository is here
To fetch it,
git clone https://gitlab.com/procps-ng/procps.git
procps is the package that has a bunch of small useful utilities that give information about processes using the /proc filesystem. The package includes the programs ps, top, vmstat, w, kill, free, slabtop, and skill.
which looks unmaintained and was forked into procps-ng
Debian, Fedora and openSUSE fork of procps. For more information about the former upstream see http://procps.sourceforge.net.