Skip to content
Snippets Groups Projects
Commit 5ff09e08 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Limited the length of the 'last' output.

Rev: lib/modules/Crypto/randomness.pmod:1.4
parent e318e336
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,8 @@
/* Collect somewhat random data from the environment. Unfortunately,
* this is quite system dependent */
#define PATH "/usr/sbin:/usr/etc:/usr/bin/:/sbin/:/etc:/bin"
#define SYSTEM_COMMANDS "last & netstat -anv & netstat -mv & netstat -sv & " \
#define SYSTEM_COMMANDS "last -256 & " \
"netstat -anv & netstat -mv & netstat -sv & " \
"uptime & ps -fel & ps aux & " \
"vmstat -s & vmstat -M & " \
"iostat & iostat -cdDItx &"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment