NetBSD-Users archive

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

Odd Little Bug in ps(1)?



I think I've run into a strange little bug in the ps command:

teeny$ ps -o  lstart        
STARTED
Sat Apr  3 22:09:49 2021
Mon Apr  5 17:20:15 2021
Mon Apr  5 16:32:04 2021
Sun Apr  4 13:26:01 2021
Mon Apr  5 16:32:04 2021
Sun Apr  4 17:23:15 2021
Sun Apr  4 14:18:24 2021
Mon Apr  5 17:20:55 2021
Mon Apr  5 15:49:08 2021
Sat Apr  3 21:53:48 2021
teeny$ ps -o  lstart=""
Sat Apr
Mon Apr
Mon Apr
Sun Apr
Mon Apr
Sun Apr
Sun Apr
Mon Apr
Mon Apr
Sat Apr
teeny$

The man page for ps(1) says I can eliminate the header by adding the ="" after the keyword, and it does that but it also removes the info I want, the start time!

This is on NetBSD-9.0 on amd64. If this is something that hasn't been reported yet I'll look into it and write a pr.

-- 
Ted Spradley <tsprad%talent-free-studios.com@localhost>


Home | Main Index | Thread Index | Old Index