Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

swatch::threshold(3pm) [debian man page]

Swatch::Threshold(3pm)					User Contributed Perl Documentation				    Swatch::Threshold(3pm)

NAME
Swatch::Threshold - Perl extension for thresholding in swatch(1) SYNOPSIS
use Swatch::Threshold; &Swatch::threshold( SWID => <int>, TYPE => <limit|threshold|both>, TRACK_BY => <key>, # like an IP addr COUNT => <int>, SECONDS => <int> ); SWATCH SYNTAX
threshold track_by=<key>, type=<limit|threshold|both>, count=<int>, seconds=<int> DESCRIPTION
SWID is swatch's internal ID number for the watchfor block TYPE can be limit, threshold, or both Limit - Alert on the 1st COUNT events during the time interval, then ignore events for the rest of the time interval. Threshold - Alert every COUNT times we see this event during the time interval. Both Alert once per time interval after seeing COUNT occurrences of the event, then ignore any additional events during the time interval. SECONDS is the time interval AUTHOR
E. Todd Atkins, todd.atkins@stanfordalumni.org SEE ALSO
perl(1), swatch(1). perl v5.10.0 2006-07-21 Swatch::Threshold(3pm)

Check Out this Related Man Page

topsyscall(1m)							   USER COMMANDS						    topsyscall(1m)

NAME
topsyscall - top syscalls by syscall name. Uses DTrace. SYNOPSIS
topsyscall [-Cs] [interval [count]] DESCRIPTION
This program continually prints a report of the top system calls, and refreshes the display every 1 second or as specified at the command line. Since this uses DTrace, only users with root privileges can run this command. OPTIONS
-C don't clear the screen -s print per second values EXAMPLES
Default output, 1 second updates, # topsyscall Print every 5 seconds, # topsyscall 5 Print a scrolling output, # topsyscall -C FIELDS
load avg load averages, see uptime(1) syscalls total syscalls in this interval syscalls/s syscalls per second SYSCALL system call name COUNT total syscalls in this interval COUNT/s syscalls per second DOCUMENTATION
See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with ver- bose descriptions explaining the output. EXIT
topsyscall will run until Ctrl-C is hit, or the specified interval is reached. AUTHOR
Brendan Gregg [Sydney, Australia] SEE ALSO
dtrace(1M), prstat(1M) version 0.90 Jun 13, 2005 topsyscall(1m)
Man Page

14 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help

I have a problem. I have a direcotry where i have files named as below -rwxr-x--- 1 sadalbid dwro 953 Jan 4 17:03 tables.telg.subs.txt -rwxr-x--- 1 sadalbid dwro 79 Jan 4 17:03 tables.telg.sub2.txt -rw-r--r-- 1 sadalbid dwro 268 Jan 4 17:03 tables.telg.prty.txt... (16 Replies)
Discussion started by: dsravan
16 Replies

2. Shell Programming and Scripting

DB2 and Unix Variable .....

Guys Quick help... ---------------------------- #!/usr/bin/ksh db2 -x "select count(*) from ${SCHEMA}.EMP"> $HOME/count.dat COUNT=`cat $HOME/count.dat` echo Table Count: $COUNT if ( $COUNT -eq 0 ); then echo Record Count in Table is 0 exit 1 fi echo Records Exist... (2 Replies)
Discussion started by: freakygs
2 Replies

3. UNIX for Dummies Questions & Answers

Subtracting an Integer from a Variable

Hello, I am in following situation.- COUNT=`ls -l | wc -l` echo $COUNT ---> 26 NO_OF_FILES=$COUNT-1 echo $NO_OF_FILES ---> 26-1 Here, I want the output to be 25. How could I do this. It seems simple, but I am not getting it. Please help me. (2 Replies)
Discussion started by: The Observer
2 Replies

4. Linux

Memory Usage on Linux server

Hi , As I am new to Linux server, I am facing some doubts like: On linux server virtual memory usage goes to 99%, but I have Threshold limit of 95%. So it crossed the threshold limit and alarmd. Yesterday I moniterd the server using TOP command, and found some of Tibco process was consuming... (4 Replies)
Discussion started by: Jaywantmm
4 Replies

5. Solaris

T2000 - Fault at MB/FF_POK

Hi all, I have a T2000 server which does not seem to respond when I power it on. Looking on the console I see the following: SC Alert: Host Power Failure: MB_DC_POK Fault SC Alert: Host system poweron failed due to fault at MB/FF_POK. SC Alert: VOLTAGE_SENSOR at MB/V_VCORE has exceeded... (4 Replies)
Discussion started by: jambalaya
4 Replies

6. Shell Programming and Scripting

Check space of directories and send email if it has reached threshold limit

Hi, I need help in writing unix script for checking space of some directories on the system and also send an email when it reaches the threshold limit. I have written the followng code; #!/bin/ksh ADMIN="me@somewhere.com" # set alert level 80% is default THRESHOLD=80 df | grep -E... (5 Replies)
Discussion started by: jmathew99
5 Replies

7. UNIX for Dummies Questions & Answers

AWK-COUNT

Hi , HOW DO I COUNT THE NO of fields in a particular line of a file using awk EX: If file name is Pravee a|2|3|4|y the command shid display the result as 4 Please advise (2 Replies)
Discussion started by: praviper
2 Replies

8. Shell Programming and Scripting

sql output in the same line

Hi All, this is my first post... i want the count output like the following: COUNT(*) COUNT(*) ---------- --------- 0 120 The code is as follows: # count the records in myemptable $ORACLE_HOME/bin/sqlplus -SILENT /NOLOG... (2 Replies)
Discussion started by: whizkid
2 Replies

9. Solaris

Rootvol above threshold

Hi there, Root filesystem is above threshold, I have search and cleared unwanted files which are filling up space. But the root fs is still above threshold. I don't know about veritas volume management. Can anyone show me how to solve this. Du shows /proc is occupying a lot of space. Most of the... (2 Replies)
Discussion started by: sundar63
2 Replies

10. Shell Programming and Scripting

get mail when matching with threshold value

HI Guys Below is my file structure and now I want if % is equal and above 95% then I will get the mail with the name of that filesystem and threshold value. Is someone help me ? 55G 33G 22G 61% /mnt/projects/stp2int4_web_runtime 16G 14G 1.7G 90%... (2 Replies)
Discussion started by: anuragpgtgerman
2 Replies

11. UNIX for Advanced & Expert Users

Threshold for open connections

Hey guys, We've been having issues on one of our CentOS 6 servers and one of the java programs that runs on it. As the software hasn't caused issues in the past, I'm wondering if its a problem with the CentOS server. Basically, the software drops it's tcp connection and won't reconnect,... (5 Replies)
Discussion started by: jimbob01
5 Replies

12. Shell Programming and Scripting

Percentage of occurence

Dear all, I have data like below and i need to add coloumn before the COUNT field to see the Percentage out of all COUNT field value for respective raw. ============================================= COUNT CODE sConnType tConnType... (6 Replies)
Discussion started by: Iroshan
6 Replies

13. Shell Programming and Scripting

Alert for missing file in directory

Deleting code (6 Replies)
Discussion started by: Adfire
6 Replies

14. UNIX for Advanced & Expert Users

Alert meaning

Hi All, I saw this unix alert and am hoping some genius can tell me what is means? # | Location | Alert | Encoded Field | Data Field 2 BMC 2 0x2059757602020030 FFFF027000120300 Keyword/Timestamp Type-02 127002... (2 Replies)
Discussion started by: Fgerber
2 Replies