07-06-2015
Shell Scripting
Hi I have a script that Checks
- DiskSpace
- Few Daemons status
- Few FileAgent Status
I need to have a summary of the results on the top like this
DiskSpace:Ok/Not OK
Few Daemons status:Ok/Not OK
Few FileAgent Status:Ok/Not OK
The actual Script like the if conditions should be followed by the above summary. The requirement is if someone open the output they should have the metadata information like DiskSpace is ok or not ok.
The detailed information should be followed by the summary.
How do i go about it?
Thanks,
Siva
Last edited by rbatte1; 07-27-2015 at 07:35 AM..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies
2. Shell Programming and Scripting
Hi
How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Discussion started by: anupdas
2 Replies
3. What is on Your Mind?
Hi all,
I would like to start developping some good scripting skills. Do you think it would be best to start with shell scripting or Perl? I already got a fundation, really basics, in perl. but I am wondering what would be best to be good at first.
Can you please help me determine which one to... (14 Replies)
Discussion started by: Pouchie1
14 Replies
4. Android
I just upgraded to Android 2.2 from 2.1. The GPS issue that was troublesome in 2.1 seems to have been fixed. Some of web browsing seems faster, but it could just be my connection is better today ;) Flash works in some browsers but not very good and it is too slow for Flash apps designed for... (0 Replies)
Discussion started by: Neo
0 Replies
5. What is on Your Mind?
Gents,
I have been working in a Solaris/Unix environment for about 9 months. I took some linux classses online before getting the job. But, I am not very good at scripting. I want to learn how to script. Do you think that I should start with Shell scripting or Perl? I wanted to continue with... (2 Replies)
Discussion started by: Pouchie1
2 Replies
6. Web Development
i am going to study any one of the scripting languages mentioned above(shell 0r perl scripting) . Which is having more scope for a fresher? (1 Reply)
Discussion started by: Anna Hussie
1 Replies
7. UNIX for Dummies Questions & Answers
Hey I have a data in the file named as outputFile.txt. The data is in the format
123456,12345678912345,400,09/09/09,INACTIVE.
I want this output without commas ie
12345612345678912345400090909INACTIVE.
Please tell me what to do and clear explain all the terms, as I am new to it. (6 Replies)
Discussion started by: sampandey31
6 Replies
8. Shell Programming and Scripting
Hi, if in a network there are lots of PCs connected with either windows or linux as operating system.Then what will be the shell script for the same and also if the PC has linux in it then we have to find if it is occupied or unoccupied.
If the PC has windows in it then we have to find if it is... (6 Replies)
Discussion started by: akansha singh
6 Replies
9. Shell Programming and Scripting
Hi there
please have a look at the code..i want to create Using a named pipe. Run a find in the background starting in the working directory
While this is happening wait for input from the user to ask him which file to find.
If the user does not enter any data in 10 seconds ask the user again.... (1 Reply)
Discussion started by: kattak1511
1 Replies
10. UNIX for Dummies Questions & Answers
sxsaaas (3 Replies)
Discussion started by: VikrantD
3 Replies
errors(4) Kernel Interfaces Manual errors(4)
NAME
errors - Contains a record of uucico daemon errors
SYNOPSIS
/usr/spool/uucp/.Admin/errors
DESCRIPTION
The /usr/spool/uucp/.Admin/errors file contains a record of uucico daemon errors that the uucp program cannot correct. For example, if the
uucico daemon is unable to access a directory that is needed for a file transfer, the uucp program records this in the errors file. If
debugging is enabled for the uucico daemon, the uucp program sends the error messages to standard output instead of to the errors file.
EXAMPLES
Following is the text of an error that might appear in the errors file: ASSERT ERROR (uucico) pid: 303 (7/18-8:25:09) SYS-
TAT OPEN FAIL /usr/spool/uucp/.Status/ (21) [SCCSID: @(#)systat.c 7.2 87/07/08 16:43:37, FILE: systat.c, LINE:100]
This error occurred on July 18 at 8:25:09 a.m. [(7/18-8:25:09)] when the uucico daemon, running as process 303 [(uucico) pid: 303], could
not open the /usr/spool/uucp/.Status directory [SYSTAT OPEN FAIL /usr/spool/uucp/.Status/]. To prevent this error from occurring again,
you should make sure the permissions for the .Status directory are correct. It should be owned by the uucp login ID and group uucp, with
permissions of 777 (read, write, and execute for owner, group, and all others).
FILES
Contains the errors file and other uucp administrative files Lists the last time a remote system was contacted and the minimum time until
the next retry
RELATED INFORMATION
Commands: uudemon.cleanu(4)
Daemons: uucico(8) delim off
errors(4)