Sponsored Content
Full Discussion: Traffic Monitoring Script
Top Forums Shell Programming and Scripting Traffic Monitoring Script Post 302589970 by methyl on Friday 13th of January 2012 08:46:41 AM
Old 01-13-2012
Quote:
LOG_FILE=/var/xmp/log/XMP_*| tail -1
This variable assignment does not work. The value of $LOG_FILE is always blank.
It is executed as two parts:
LOG_FILE=/var/xtmp/log/XMP_*
Which fills $LOGFILE with a long continuous line of filenames and produces no output.
tail -1
Which reads the blank output from the first command and blanks out $LOGFILE.

Because the script contains many syntax errors, we need to know what each stage of the script is meant to do.



Spelling police:
Please Check Immeiately
should be
Please Check Immediately
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

monitoring network traffic

there are commands to monitor the memory, paging, io... how about network traffic. i mean commands to see whether the network traffic (LAN) is congested? the closest i got is netstat thanks (6 Replies)
Discussion started by: yls177
6 Replies

2. UNIX for Advanced & Expert Users

Monitoring network traffic using snoop

I want to monitor network traffic. For this purpose i use snoop command. But snoop command only show those packets which are broadcasted or those packets which recieved by host. But I want to examine whole network traffic. Please tell me how to use snoop for monitoring whole network traffic or if... (3 Replies)
Discussion started by: mansoorulhaq
3 Replies

3. UNIX for Dummies Questions & Answers

NIC card monitoring traffic question

Folks; I have 2 NIC cards on my SUSE Linux server. One of them was reporting receive errors for a while now it's OK, but i'd like to monitor it. Is there any command i can run to tell me the usage in the past or give me a history of traffic and the speed that going on this specific card? I... (1 Reply)
Discussion started by: Katkota
1 Replies

4. Cybersecurity

Monitoring network traffic on wireless router

Hi all, How can I monitor packet traffic on my wireless router? Some info - my wireless router is netgear wgr614 - everyone can connect it i.e. no password required - I would like to see where they connect, how they are using the internet connection I installed wireshark and captured... (3 Replies)
Discussion started by: SaTYR
3 Replies

5. HP-UX

Monitoring traffic in the network

I Colleagues, Somebody can say me how to monitoring traffic in the network. also I am interested in monitoring memory. if somebody to know a guide with command advanced in unix welcome for me. Thank you for adcanced. (0 Replies)
Discussion started by: systemoper
0 Replies

6. AIX

Script for real time network traffic per process

Hi All Gurus, I want to write a script (bash/ksh/csh) which will show real time network traffic ( TCP or UDP ) generated by per process/PID. For both Linux/AIX system, as nethogs ( Linux package ) shows ? Any suggestion is MOST welcome. Thanks in Advance, Amritendu Das (1 Reply)
Discussion started by: linux.amrit
1 Replies

7. Shell Programming and Scripting

Script for real time network traffic per process

Hi All Gurus, I want to write a script (bash/ksh/csh) which will show real time network traffic ( TCP or UDP ) generated by per process/PID. For both Linux/AIX system, as nethogs ( Linux package ) shows ? Any suggestion is MOST welcome. Thanks in Advance, Amritendu Das (3 Replies)
Discussion started by: linux.amrit
3 Replies

8. Shell Programming and Scripting

Help with a script for proxy traffic

Hello folks; I'm trying to write a script to test our proxy servers to see if they're passing traffic and i need help please. I wrote this code below to implement "httpie" tool but still having issues. Can someone please take a look and let me know what's wrong with this code? The code is supposed... (2 Replies)
Discussion started by: Katkota
2 Replies
checker(1)						      General Commands Manual							checker(1)

NAME
checker - SPARK Proof Checker SYNOPSIS
checker [OPTIONS] [FILE] DESCRIPTION
The SPARK Proof Checker can be used to discharge verification conditions produced by the Examiner (*.vcg), possibly simplified by the Sim- plifier (*.siv). This command is usually used when verification conditions cannot be discharged automatically by the Simplifier. By default checker runs in interactive mode. It accepts commands from user and writes them into a cmd file (or other file specified by -command_log option). This file can be used later to run checker in batch mode (using option -execute). Additionally, proof log is writ- ten into a plg file. OPTIONS
A summary of options is included below. All options may be abbreviated to the shortest unique prefix. -help Show summary of options. -version Display version information. -plain Adopt a plain output style (e.g. no dates or version numbers). -overwrite_warning Confirmation needed to overwrite command or proof log files. -command_log=LOG_FILE Specify file name for the command log file. -proof_log=PLG_FILE Specify file name for the proof log file. -execute=LOG_FILE Execute a previously generated command log file. -resume Resume a previously saved session. FILES
/usr/share/spark/checker/rules/* Checker rules database. SEE ALSO
spark(1), sparksimp(1), spadesimp(1), pogs(1). AUTHOR
This manual page was written by Eugeniy Meshcheryakov <eugen@debian.org>, for the Debian project (and may be used by others). 3 June 2011 checker(1)
All times are GMT -4. The time now is 06:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy