Search found 3 matches

by Arto
Wed Jan 20, 2016 8:35 am
Forum: RMA for UNIX
Topic: linux rma
Replies: 5
Views: 46144

I tested your script using script Manager "test" button. if Params field is empty ---------- - Status: Unknown - Reply: not enough parameters specified ---------- if params field is: <MaxLimit> awk: cmd. line:1: BEGIN {count=-1} {count++} END { if (count><MaxLimit>) {printf("ScriptRes...
by Arto
Wed Jan 20, 2016 3:08 am
Forum: RMA for UNIX
Topic: linux rma
Replies: 5
Views: 46144

ubuntu 14.04.3 LTS (GNU/Linux 3.19.0-25-generic x86_64

command is:
ps -eo nlwp | tail -n +2 | awk '{ num_threads += $1 } END { print num_threads }'
(like it is in script manager, SYSTEM: # of processes (total)).

if I run it from server console it works fine, no errors just correct result.
by Arto
Tue Jan 19, 2016 1:05 pm
Forum: RMA for UNIX
Topic: linux rma
Replies: 5
Views: 46144

linux rma

I have an agent on Linux machine and I try to check number of processes (total). I use " built in" script for that and it works, but reply is always: Error: Invalid result (number of processes here). I get the number of processes, but what is this "Error: Invalid result". Why is ...