[Date Prev] [Date Next] | [Thread Prev] [Thread Next] | [Date Index] [Thread Index] |
[snips-users] Glitch in hostmon-client.solaris2
|
Hi, Having an issue with hostmon-client.solaris2 on the old Nocol... We are getting a vmstat -S of : 0 0 0 5408072 1178056 0 0 0 0 0 0 0 0 0 0 0 418 1609 38 100 0 0 Which when it hits : # if any CPU time is 100, vmstat doesnt have any spaces in it. s/100(\s+\d+){0,2}\s*$/ 100\1/; Becomes : 0 0 0 5408072 1178056 0 0 0 0 0 0 0 0 0 0 0 418 1609 38 100 0 and then fails if (/^\s*(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d +)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d +)\s+(\d+)\s+(\d+)\s+(\d+)\s*$/) Is there a reason that the "s/100(\s+\d+){0,2}\s*$/ 100\1/;", despite what it claims? And why is it cutting out one of the "0"'s? Thanks, Tuc/TTSG Internet Services, Inc. |