Sponsored Content
Full Discussion: Monitoring Software??
Top Forums UNIX for Advanced & Expert Users Monitoring Software?? Post 17039 by #1freebsddude on Sunday 10th of March 2002 04:42:41 PM
Old 03-10-2002
Re: Monitoring Software??

Assuming that you are a developer, you should be able to easily write such a script either using a shell or perl or C. Check for the presence of a file every n seconds (or whatever time interval) in a directory, and when one found, run another script, etc. etc.

Quote:
Originally posted by cookiejar
Hi everybody,

I am currently setting up a web site for customers to place orders. Having placed the order the file will be downloaded onto the Unix server (SCO UNIX v 5.0.4). At this point I need to be able to monitor the system for the file being resident and if it is then perform an action on it, possibly set a script off running passing the filename as a parameter. The monitor should be looking for the file every few seconds so I require something which does not hog the machine.

Anybody out there who can point me in the right direction.

Regards
cookiejarSmilie
 

7 More Discussions You Might Find Interesting

1. Solaris

monitoring software

i am looking for a really good monitoring solftware for solaris . i need it to be installed on a server and accessed from a client application on windows , with some nice GUI interfaces . thanks (6 Replies)
Discussion started by: ppass
6 Replies

2. UNIX for Dummies Questions & Answers

network monitoring software

hi can i know if there is any GUI interface software to help in monitoring the network of the servers i have? something like a web pages or a stock pages when a processes is down, a red colour is flashes. best if it is free ;) (1 Reply)
Discussion started by: legato
1 Replies

3. UNIX for Advanced & Expert Users

MOnitoring Software for Unix servers

Guys, I need a monitoring software for my Unix servers. Over the last couple of years, the number has increased to well over 40 servers. All have different applications running on them and it is impossible to go to everyone of them and do checks. I was using Spotlight on Unix. I was... (1 Reply)
Discussion started by: jair
1 Replies

4. Shell Programming and Scripting

Monitoring script for hardware and software problems

Gentlemen I want to write a small script and run as cronjob sothat the script runs every four hours The script should be capable of finding any hardware issues,panics,coredumps if anyissues found it should sent mail.If no issues it shouldnt sent mail Deeply appreciated if any help... (2 Replies)
Discussion started by: saidiya
2 Replies

5. AIX

ASK SNMPD configuration software monitoring

Hi, How to create new SNMP at aix configuration? Can your share in this the step by step.. regards, (1 Reply)
Discussion started by: williamen
1 Replies

6. Infrastructure Monitoring

Whats the best new monitoring software

Hi All We have a new site going live. with 80 switches , 10 servers We have used nagios ,icinga,mrtg and others what do users think is the best new software worth a look? thanks Richard (1 Reply)
Discussion started by: rdunne
1 Replies

7. Infrastructure Monitoring

Monitoring software on IBM AIX

Hi, I am looking for monitoring software like Zabbix, to run it on AIX server. I have many problems with Zabbix and MySQL installation on AIX. I dont have IBM XL C/C++ compiler. Has anyone know similar solution like Zabbix that works on IBM AIX? (11 Replies)
Discussion started by: jackbz
11 Replies
SCRIPT(1)						    BSD General Commands Manual 						 SCRIPT(1)

NAME
script -- make typescript of terminal session SYNOPSIS
script [-a] [-k] [-q] [-t time] [file [command ...]] DESCRIPTION
The script utility makes a typescript of everything printed on your terminal. It is useful for students who need a hardcopy record of an interactive session as proof of an assignment, as the typescript file can be printed out later with lpr(1). If the argument file is given, script saves all dialogue in file. If no file name is given, the typescript is saved in the file typescript. If the argument command ... is given, script will run the specified command with an optional argument vector instead of an interactive shell. Options: -a Append the output to file or typescript, retaining the prior contents. -k Log keys sent to program as well as output. -q Run in quiet mode, omit the start and stop status messages. -t time Specify time interval between flushing script output file. A value of 0 causes script to flush for every character I/O event. The default interval is 30 seconds. The script ends when the forked shell (or command) exits (a control-D to exit the Bourne shell (sh(1)), and exit, logout or control-d (if ignoreeof is not set) for the C-shell, csh(1)). Certain interactive commands, such as vi(1), create garbage in the typescript file. The script utility works best with commands that do not manipulate the screen. The results are meant to emulate a hardcopy terminal, not an addressable one. ENVIRONMENT
The following environment variable is utilized by script: SHELL If the variable SHELL exists, the shell forked by script will be that shell. If SHELL is not set, the Bourne shell is assumed. (Most shells set this variable automatically). SEE ALSO
csh(1) (for the history mechanism). HISTORY
The script command appeared in 3.0BSD. BUGS
The script utility places everything in the log file, including linefeeds and backspaces. This is not what the naive user expects. It is not possible to specify a command without also naming the script file because of argument parsing compatibility issues. When running in -k mode, echo cancelling is far from ideal. The slave terminal mode is checked for ECHO mode to check when to avoid manual echo logging. This does not work when in a raw mode where the program being run is doing manual echo. BSD
June 6, 1993 BSD
All times are GMT -4. The time now is 02:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy