Sponsored Content
Full Discussion: Unix commands in perl script
Top Forums UNIX for Dummies Questions & Answers Unix commands in perl script Post 302079982 by cbkihong on Friday 14th of July 2006 09:31:08 AM
Old 07-14-2006
It just dumps all the output including error messages to the myTracker file.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl calling unix system commands

if ( system ("/bin/cat $File1 >> $File2") ) { print("#WARNING RAISED : /bin/cat File1 >> File2 - FAILURE!\n"); } I came across this code, would appreciate if someone can tell me if my understanding is correct? the perl code tell the system to cat file 1 into file 2, if command fails, print... (4 Replies)
Discussion started by: new2ss
4 Replies

2. Shell Programming and Scripting

[PERL] Running unix commands within Perl Scripts

I understand that in order to run basic unix commands I would normally type at the prompt, I would have to use the following format system(ls -l); or exec(ls -l); But when I actually try to use the command, the script fails to compile and keeps telling me there is an error with this line. ... (1 Reply)
Discussion started by: userix
1 Replies

3. Shell Programming and Scripting

Running unix commands through perl

Hi all, In the directory '/temp/chris' the following files exist: chris.tar, chris.txt What i am trying to do is to assign the 'chris.tar' filename in an argument through perl, in order to do that i use the system command: $file=system("ls /temp/chris/*.tmp), but in the '$file' the exit... (2 Replies)
Discussion started by: chriss_58
2 Replies

4. Shell Programming and Scripting

Running unix commands in a perl script

Executing two unix commads via perl script one after another e.g: make clean bsub -i -q short make have tried using exec but the second command doesnt executes (1 Reply)
Discussion started by: rajroshan
1 Replies

5. UNIX for Dummies Questions & Answers

commands to execute unix script

commands to execute unix script (1 Reply)
Discussion started by: sunilamarnadh
1 Replies

6. Shell Programming and Scripting

perl/unix: script in command line works but not in perl

so in unix this command works works and shows me a list of directories find . -name \*.xls -exec dirname {} \; | sort -u | > list.txt but when i try running a perl script to run this command my $query = 'find . -name \*.xls -exec dirname {} \; | sort -u | > list.txt';... (2 Replies)
Discussion started by: kpddong
2 Replies

7. Shell Programming and Scripting

Execution problem unix commands in Perl CGI

I am trying to run SSH , mkdir and other unix commands using Perl CGI. But i am not able to Execute these commands. Please help me out !!!! SSH and mkdir is necessity for me. I will be thankful to you...!!!!! I am trying like: In perl CGI file i am writing like: @list = `ssh... (28 Replies)
Discussion started by: Navrattan Bansa
28 Replies

8. UNIX for Dummies Questions & Answers

UNIX commands for a script that I need

Hello. I need help trying to create a script in UNIX to do the following steps. I don't know which commands to input to achieve this. 1. In a directory tree, I want to duplicate all .txt files into the same directory, so 2 of each file exists in each directory where there is a .txt file ... (4 Replies)
Discussion started by: TitanTlaloc
4 Replies

9. Shell Programming and Scripting

Get multiple values from an xml file using one of the following commands or together awk/perl/script

Hello, I have a requirement to extract the value from multiple xml node and print out the values to new file to compare. Would be done using either awk/perl or some unix script. For example sample input file: ..... ..... <factories xmi:type="resources.jdbc:DataSource"... (2 Replies)
Discussion started by: slbmind
2 Replies

10. Shell Programming and Scripting

Perl script running multiple commands at once

Hi All, I have put a perl script together to go and collect some information from multiple nodes/endpoints. The script works absolutly fine however I want to make it quicker. You will see in the below that my script calls an expect script called ssh_run_cmd2.exp followed by the IP of... (7 Replies)
Discussion started by: mutley2202
7 Replies
ATMSIGD(8)						       Maintenance Commands							ATMSIGD(8)

NAME
atmsigd - ATM signaling demon SYNOPSIS
atmsigd [-b] [-c config_file] [-d] [-D dump_dir] [-l logfile] [-m mode] [-n] [-q qos] [-t trace_length] [-u uni_version] [[itf.]vpi.vci [input output]] atmsigd -V DESCRIPTION
atmsigd implements the ATM UNI signaling protocol. Requests to establish, accept, or close ATM SVCs are sent from the kernel (using a com- parably simple protocol) to the signaling demon, which then performs the dialog with the network. Note that atmsigd is not able to accept or establish connections until the local ATM address of the interface is configured by ilmid or manually using atmaddr. The default signaling VC (interface 0, VPI 0, VCI 5) can be overridden on the command line by specifying a different PVC address. When overriding the default VC, optionally a pair of named pipes to use for communicating with the user of signaling can be specified. Nor- mally, the kernel is the user of signaling and atmsigd opens a special socket for communication with it. If atmsigd is killed, all system calls requiring interaction with it will return with an error and set errno to EUNATCH. OPTIONS
-b Run in background (i.e. in a forked child process) after initializing. -c config_file Use the specified configuration file instead of /etc/atmsigd.conf If an option is specified in the configuration file and on the command line, the command line has priority. -d Enables (lots of) debugging output. By default, atmsigd is comparably quiet. -D dump_dir Specifies the directory to which atmsigd will write status and trace dumps. If -D is not specified, dumps are written to /var/tmp. -l logfile Write diagnostic messages to the specified file. The special name syslog is used to send diagnostics to the system logger, stderr is used to send diagnostics to standard error. If -l is absent, the setting in atmsigd.conf is used. If atmsigd doesn't specify a des- tination either, messages are written to standard error. -m mode Set the mode of operation. The following modes are available: user for the user side (the default), network for the network side (useful if you have two PCs but no switch), and switch for operation with a signaling relay in a switch. -n Prints addresses in numeric format only, i.e. no address to name translation is attempted. -q qos Configures the signaling VC to use the specified quality of service (see qos(7) for the syntax). By default, UBR at link speed is used on the signaling VC. -t trace_length Sets the number of entries that should be kept in the trace buffer. -t 0 disables tracing. If -t is not specified, atmsigd uses a default of 20 trace entries. -u uni_version Sets the signaling mode. The following modes are supported: uni30 for UNI 3.0, uni31 for UNI 3.1, uni31+uni30 for UNI 3.1 with 3.0 compatibility, uni40 for UNI 4.0, and uni40+q.2963.1 for UNI 4.0 with Q.2963.1 peak cell rate renegotiation. -V Prints the version number of atmsigd on standard output and exits. FILES
/etc/atmsigd.conf default configuration file /var/tmp/atmsigd.pid.status.version default location of status dumps /var/tmp/atmsigd.pid.trace.version default location of signaling trace dumps DEBUGGING
When receiving a SIGUSR1 signal, atmsigd dumps the list of all internal socket descriptors. With SIGUSR2, it dumps the contents of the trace buffer. If a dump directory was set, dumps are written to files called atmsigd.pid.status.number and atmsigd.pid.trace.number, respectively, with number starting at zero and being incremented for every dump. If no dump directory is set, dumps are written to standard error. Dumps are also generated whenever atmsigd detects a fatal error and terminates. No attempt is made to catch signals like SIGSEGV. BUGS
The generation of traces is a comparably slow process which may already take several seconds for only 100 trace entries. To generate a trace dump, atmsigd therefore forks a child process that runs in parallel to the signaling demon. AUTHOR
Werner Almesberger, EPFL ICA <Werner.Almesberger@epfl.ch> SEE ALSO
atmaddr(8), atmsigd.conf(4), ilmid(8), qos(7) Linux April 26, 2000 ATMSIGD(8)
All times are GMT -4. The time now is 06:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy