in reply to can you explain this perl oneliner
So that's our input. We skip the first line by insisting that $. (input line number) is 2svmon -P, mem usage for the following PIDs -t$n, Displays memory usage statistics for the top $n processes
For more precise answers try adding the input, the result of svmon -Pt15 to the enquiry.
Hope this helps.
UPDATEBy the way this code is horribly inefficient and seems to be written for obscurity more than for effectiveness
|
|---|