This manual page documents the lps command.
lps is a wrapper program to add an additional column named "LXC" to the output of ps(1). All given command line arguments are passed to the ps(1) command without modification.
The additional column "LXC" contains the container name or a "-" if the process belongs directly to the host system.
As the pid is used as a reference by this program it will fail if the output of "ps" is missing a PID column.
The width of the "LXC" column is calculated as the maximum string length of any container name present.
Adds an additional column named "LXC" to the output of ps(1) (or "-" if the process belongs directly to the host system).
Almost any command line arguments suitable for ps(1) can be used, except for those not providing a column named "PID".
The LXC names are provided in full length.
Almost any command line arguments suitable for ps(1) can be used, except for those not providing a column named "PID".
This manual page was written by LiHAS <support@lihas.de>
for
the lps software and may be used by others.
Permission is granted to copy, distribute and/or modify this document
under
the terms of the GNU Free Documentation
License, Version 1.1 or any later version published by the Free
Software Foundation; with no Invariant Sections, no Front-Cover
Texts and no Back-Cover Texts.
The newest version of lps can be obtained from http://ftp.lihas.de/debian
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; Version 2. This guarantees your right to use, modify, and redistribute lps under certain conditions.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details (it is in the COPYING file of the lps distribution).