Re: [PATCH] task: ps: Provide an option to display no header line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed 2022-11-30 04:57 +0000, HAGIO KAZUHITO(萩尾 一仁) wrote:
> On 2022/11/29 23:05, Aaron Tomlin wrote:
> > One might often find it useful to redirect/or filter the output
> > generated by the 'ps' command. This simple patch provides an option
> > (i.e. '-H') to display no header line so it does not need to be
> > considered e.g.
> > 
> > crash> ps -u -H | head -5
> >          1       0   1  ffff956e8028d280  IN   0.0   174276     9272  systemd
> >       1067       1   2  ffff956e81380000  IN   0.1    59480    15788  systemd-journal
> >       1080       1   0  ffff956e8d152940  IN   0.0    36196     3548  systemd-udevd
> >       1278       1   6  ffff956e8aa60000  IN   0.0    17664     3072  systemd-oomd
> >       1366       1   7  ffff956e88548000  IN   0.0    10868     2328  dbus-broker-lau
> > 
> > Signed-off-by: Aaron Tomlin <atomlin@xxxxxxxxxxx>
> 
> I like this :)

:)


Kind regards,

-- 
Aaron Tomlin

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/crash-utility
Contribution Guidelines: https://github.com/crash-utility/crash/wiki




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux