10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Have a query
How to check for a process and if down start it , try if for 2 times and its not starting don't do it
My code is working to some extent but while starting try starting both times.
Please advise , whats wrong here ?
if you have any other approach please do share.
My... (1 Reply)
Discussion started by: abhaydas
2. Shell Programming and Scripting
I need a UNIX shell script to check the DBs status (Running/Shutdown) in the server.If its Running then no issue but if it is in shutdown state ,it should prompt like " DB is shut down you want to startup??" if i enter YES it should startup.
ORACLE_SID are present in... (18 Replies)
Discussion started by: navsan420
3. Shell Programming and Scripting
I have some server ( IBM , Dell ) , our data center is not in the same location with office , therefore , I do not know if the HD lamp is flash when the HD is fault , can advise if I can write a script to check if the HD is normal running or not ?
thanks (1 Reply)
Discussion started by: ust
4. UNIX for Advanced & Expert Users
I have master job which will run based on the sub jobs status.
In the master job I am giving the condition like,
condition: s(sub_job) f(sub_job)
This scenario will work if the sub job status is success or failed. but I want to run my master job even if the sub_job was... (1 Reply)
Discussion started by: Kattoor
5. Shell Programming and Scripting
I'm new in shell scripting and would like to write an automated script that will check few jobs for the completion, and restart the process based on the jobs status. I am not quite sure how do I check the job status... Can someone please help? Any help will be appreciated. Thanks in... (1 Reply)
Discussion started by: mohullah
How do i to check the status of ypbind on AIX(5.3) platform ?
AVK Linux (1 Reply)
Discussion started by: avklinux
7. Shell Programming and Scripting
I need to run a ftp command in one of my scripts and I need to evaluate what happens after it's done. The problem is the script would not capture the ftp responses. If I type the same thing on the command
line, I get all kinds of responses. I would like to capture the same responses in... (2 Replies)
Discussion started by: april
8. Shell Programming and Scripting
I wrote a script that is generating a file and then i have to ftp this file on another server. For this i am using mput to put the file.
How can i make sure that the file was ftp'd correctly to the another server, is there any status check ?
Thanks. (1 Reply)
Discussion started by: smc3
I am having shell scripts that make use of ftp to fetch data from one hp-ux box to another. Currently we are migrating these scripts to sftp. Is it a straight forward one? Also, please clarify my following doubts:
1) In ftp we check the success of ftp by verifying the status codes... (4 Replies)
Discussion started by: fisa
10. Shell Programming and Scripting
We have a text file which has the following data.
ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183
AK5~A... (3 Replies)
Discussion started by: isingh786
fsclean - determine the shutdown status of HFS file systems
The command determines the shutdown status of the HFS file system specified by special or, in the absence of special, the file systems
listed in of type with the or options set. All optional fields in must be present for to be able to check each file system.
reads the superblock to determine whether the file system's last shutdown was done correctly, and returns one of the following values:
All of the checked file systems were shut down correctly.
One or more checked file systems were not shutdown correctly,
implying that should be run (see fsck(1M)).
Other error (such as
The command is usually silent.
Instead of checking the file system shutdown status, checks the validity of disk quota statistics. This option is useful for
determining whether should be run (see quotacheck(1M)). If special is not provided, then all file systems in of type with the
(or and options are checked.
Retry open on a device special file for up to 6 minutes.
Prints the status of each file system checked.
only operates on HFS file systems.
was developed by HP.
Default list of file systems to check
dumpfs(1M), fsck(1M), fsck_hfs(1M), mount(1M), quotacheck(1M), quotacheck_hfs(1M), reboot(1M), fstab(4).