This is the script we daily run. The tape goes to another location.
#!/usr/bin/ksh
##########################################
# #
# By Marcel Bogaard #
# #
# Make first an savevg of all your...
Bill,
When i run the command this is the result:
# savevg -f /tmp/oravg1 -v -i -e oravg1
Creating information file for volume group oravg1.
Creating list of files to back up.?*+ not preceded by valid expression.
Backing up 6 filesBacking up to /tmp/oravg1.
Cluster 51200 bytes (100 blocks)...
This is what we do for disaster recovery
To save the information about your vg use this command:
savevg -f /tmp/xxxx -v -i -e xxxx
The xxxx is the name off your vg. This saves only the information about the vg and not the data
Then make an mksysb
In case of an recovery you need to restore...
I have to deliver a file what is tarred and zipped. Now i do first the tar and than gzip. The file extension is .gz
but they want the extension .tgz
In Linux i found the for the tar command the parameter -z to compress and tar but in AIX i cannot found this.
How can i create the .tgz file in...
NMONO is an not supported IBM tool. Look with Google for NMON and find more information about this tool. The tool writes information in an file. There is also an script to convert this to an excel file. For Excel there is an analyser tool witch creates graphics.
Thanks PHV, but i get the message from the else statement :
/dev/lvpsf is xx 89 % full and mounted on /var/psf
while
[ "$gebruik" -gt "50" ] && [ "$mounted" = "/var/psf" ]
is true in the if statement
I wrote the an script to check the file systems.
df -k | tr -d "%" | grep dev |
while read filesystem blocks free gebruik A1 iused mounted
do
if
[ "$gebruik" -gt "50" ] && [ "$mounted" = "/var/psf" ] |
[ "$gebruik" -gt "90" ] && [ "$mounted" =...
Thanks rzs0502. I have seen this FAQ but mij problem is that the script stops when i use the mailx command. If i run the script without this is works ok.
I send an file as an attachment with the mail. The receiver gets the file not as an attachment but in incorporated in the mail. The text is also wrong. With an other file it works oke.
The command is:
uuencode /prt/$1/input.mail/Result2N.txt.130504-133640...
I need to monitor the disk space so i wrote this little script to send an email when the free space is to low. Problem is that when the first problem is found the script stops. When i do only the echo command it works ok.
user0="root"
user1="mg.bogaard@xxx.nl"
user2="r.van_der.vliet@xxx.nl"...
in an cell i have the value : v 8,00
now i have to check if there is an v in the first position and if so fill the new cell with 8,00
if there is another character then the new cell must be empty
Sorry, i was very short.
I received the following message:
sed: 0602-404 Function s:\(.*\)\(.\):\1,\2: 738 0 cannot be parsed.
What i do is print the variable $DATUM Then
som spaces
folowed by
"${GEMID01}" | sed -e 's:\(.*\)\(.\):\1,\2:'
So the print command is...
The following line gives the error:
print "$DATUM"" ""${GEMID01}" | sed -e 's:\(.*\)\(.\):\1,\2:'"$GEMID02"" ""$TELAANTAL"
The problem is "$GEMID02"" ""$TELAANTAL" whithout this it works oke
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.