Bug 50567 - Add command line information to system_stats
Add command line information to system_stats
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: univention-base-files
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 5.0-6-errata
Assigned To: Felix Botner
Juan Pedro Torres
https://git.knut.univention.de/univen...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-11-27 09:43 CET by Christian Völker
Modified: 2023-12-20 17:04 CET (History)
5 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?: Yes
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019112721000266
Bug group (optional): bitesize
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Völker univentionstaff 2019-11-27 09:43:23 CET
system stats are collected every 30 minutes.

For troubleshooting it would be VERY helpful if the top command would print the full command lines of the processes running

Instead of the current parameters we would like to have "-c" added.

sed s/top -b -n2/top -b -n2 -c/g

I am fully aware we could collect information by comparing PIDs but this is a very time consuming process and it would be better to have all information in one line.
Comment 1 Dirk Schnick 2023-12-15 09:12:44 CET
Oh dear, I knew there must be this bug. The solution is already there, it's an absolutely minimal change and yet this really useful improvement hasn't been introduced yet?

Please put someone on it. The stats simply make no sense without a complete command line specification. 


1886 root 20 0 2669408 56664 20656 S 3.7 0.7 215:01.68 /usr/bin/+

or

29920 root 20 0 100524 47000 18496 R 94.1 0.3 0:00.22 univentio+

simply does not help.
Comment 2 Julia Bremer univentionstaff 2023-12-19 10:42:00 CET
Package: univention-maintenance
Version: 12.0.3-1
Branch: ucs_5.0-0
Scope: errata5.0-6

c8433a76c4 Bug #50567: added "-c" option to top command
Comment 3 Juan Pedro Torres univentionstaff 2023-12-19 12:32:49 CET
OK: /var/log/univention/system-stats.log 
OK: advisory
OK: package update