Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: gartie
1,109
Posted By gartie
server rebooted.
Hi Don,

It didn't install but still rebooted the server...
I cant get past that piece of logic where it looks at the time and if it greater than 10 minutes it does not reboot, if less then...
1,109
Posted By gartie
Rpm queryformat and boot
Hello,

I have a script in which I am doing a queryformat and if a java rpm has been installed within 10 minutes, I would like the server to reboot. If a java rpm has not been installed then do...
Forum: Red Hat 10-28-2015
1,514
Posted By gartie
Command for viewing hba cards on rhel7
hi all,

I am trying to view the hba cards on a rhel7 server (storage says they are there, but I am not seeing them.
I tried lspci -nn | grep -i hba
lspci |grep qla

I tried...
852
Posted By gartie
how far have I come.
Hi Rudic,

I have not gone far at all... I have just started on the script, and it is failing.
I am trying to get the script to read that anything in / below 700 MB is going to fail..

...
852
Posted By gartie
Help with script to display space usage
Hi all,

I am looking for help with a script for displaying the space available from a df - h command for / (root).
The problem is: If it is below 700 MB I have jobs that are failing... Is...
1,572
Posted By gartie
My apologies - I replied too quickly... what...
My apologies - I replied too quickly...
what you supplied actually worked.
Once again my apologies.
1,572
Posted By gartie
Hi Aia, it is not working... ...
Hi Aia,

it is not working...

thanks,

Gary
1,572
Posted By gartie
Grep for string and then output...
Hi all,

I have a file: /var/log/lct/buildinformation
I am trying to grep for string: MANUFACTURER : VMware, Inc.
If it contains the string I want to output the results of:df -h |grep...
1,174
Posted By gartie
Unmount files via script
Hi all,

I have a requirement to do an upgrade. As part of that upgrade I have to unmounts files in the fstab (there could be 100's), is there a way I can do this via script? The problem is, is...
706
Posted By gartie
Hi, Thanks for the snippet. I did the rpm...
Hi,

Thanks for the snippet. I did the rpm -qa --last. But I only wanted the latest rpm's. that would show me all rpm's - 2013 - 2012 as well.

appreciate the help..

I think I may be able...
706
Posted By gartie
Sorting on fields for last date
Hi all,

I have a file with a list of rpm's that have different dates. I am trying to just grab the latest rpm and install date, and discard the rest. The file has 1000's of entries all with...
909
Posted By gartie
Output of df - h
Sorry if I appeared upset, I really am not.. It is coming up with blank lines - there is no output

---------- Post updated at 05:03 PM ---------- Previous update was at 05:02 PM ----------

I...
909
Posted By gartie
The out put of the df -h | awk ' $1 ~ /rootvg/...
The out put of the df -h | awk ' $1 ~ /rootvg/ {print $2, $3}'

comes up as all blank lines. How would you like me to post them? I did not know that my description was vague.
909
Posted By gartie
Hi, tried running the command, and I...
Hi,

tried running the command, and I received a bunch of blank lines.

thanks,

gartie
909
Posted By gartie
Help with a script
Hi all,I have to get a script together that pulls out the total size and use% space from rootvg, and sends it to an output file.
df -h
/Filesystem Size Used Avail Use% Mounted...
2,625
Posted By gartie
Script to find a mount point on multiple server
Hi,

I have to find a mount point called... /opt/recall on multiple servers.. .Could someone give me a suggestion on how I could do this?
1,672
Posted By gartie
Need script to change a line in file....
Hello all,

I have a line of code in a file that I need to change in the /etc/sysconfig/kdump file
presently the line reads:

KDUMP_COMMANDLINE_APPEND="irqpoll nr_cpus=1 reset_devices...
959
Posted By gartie
server time
Hi All,

I have a number of servers that are running different time-zones.
I can get find out the date and time of the servers with no problem
However, my problem is I need to know only the...
Forum: Red Hat 06-21-2012
2,556
Posted By gartie
Broken pipe
Hi all,

I am trying to run a sleep command and I am receiving a broken pipe when I execute. any help would be greatly appreciated.

sleep `< /dev/urandom tr -dc 0-6 | head -c2`
768
Posted By gartie
replacing a value in a field
Hi All,

I have a file yum.conf that has a field called gpgcheck
this field sometimes has a value of 0 gpgcheck=0 and at other times it has a 1.
I need to check the value and if it is a 1 change...
Showing results 1 to 20 of 20

 

Featured Tech Videos

All times are GMT -4. The time now is 03:37 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy