Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. blueeyedme

    Start/stop crontab intelligent script check solaris version

    @PHV I don't know, whats the difference exactly? Not at work at the moment so can't check. Thanks :)
  2. blueeyedme

    Start/stop crontab intelligent script check solaris version

    Thanks for all your help :)
  3. blueeyedme

    Start/stop crontab intelligent script check solaris version

    I made it like this now and seems to work : #!/bin/sh #Check solaris version and trim results solver=`uname -r|cut -d. -f 2` if [ ${solver} -le 10 ]; then #Solaris version lower then 10 do this ./etc/init.d/cron restart else #Solaris version 10 do this svcadm restart cron fi
  4. blueeyedme

    Start/stop crontab intelligent script check solaris version

    To reset some logging output which is being sent in a nightly batch.
  5. blueeyedme

    Start/stop crontab intelligent script check solaris version

    Hello, I have a script on solaris 8 that restarts the cron every night. This is by just doing /etc/init.d/cron stop /etc/init.d/cron start Now i also need to make this script more intelligent to let it check the OS version of solaris. In case of solaris 10 it needs to do scvadm cron restart...
  6. blueeyedme

    Solaris 10 NIS Compatibility

    Ok, Thanks ;)
  7. blueeyedme

    Solaris 10 NIS Compatibility

    Hi, We are planning to upgrade our solaris 8 machines to solaris 10. We have one server being nis master running solaris 8. My question. Is Solaris 8 able to nis master a solaris 10 client temporarely, or should i do it the other way around making sure the nis master goes to solaris 10 first? I...
  8. blueeyedme

    Measure cpu, memory, network load

    It will run on Fedora. Two small servers next to all the solaris boxes ;)
  9. blueeyedme

    Measure cpu, memory, network load

    Thanks for the reply's so far. This will help me a bit further :)
  10. blueeyedme

    Measure cpu, memory, network load

    Hiya! It has been a while since i was here, but found this forum again. Again got some great tips. I have a few machines where i want to measure cpu, memory and network load. Ofcourse i dont want to login every 5 minutes to do top or so ;) I thought about using a snmp agent to do this, but i...
  11. blueeyedme

    Mail file with date of today

    Hi, I have a script which generates a file every day. This file looks like this 20040123.txt (date). How do i get my mail command in this way that it always picks todays file? Regards, Jeroen
  12. blueeyedme

    Delete files older then.

    Thanks ;)
  13. blueeyedme

    Delete files older then.

    Hi, I kind of forgot how to delete files older then for example 5days, as im trying to create a script that will delete old log files. I thought it was used with -mtime or something? thanks.
  14. blueeyedme

    Signature in sendmail???

    Hello, I have like 40 scripts that generates emails to users in our company. The thing is that i want to ask every seperate user who recieves a typical email if he/she still wants to receive this email. I was thinking if it was possible to add some sort of a signature in sendmail. In this way i...
  15. blueeyedme

    Finding files older then ??

    i dont really get this?
  16. blueeyedme

    Finding files older then ??

    Hi, I got a lot of SQR files on my machine.. a few thousand. Now i want to do a search for all files older then 28 feb 2003. Can anyone tell me how ?
  17. blueeyedme

    Insert $string to a file

    i tried it on unix too.. on solaris and it works there.. but when i try it on debian linux it gives me this error
  18. blueeyedme

    Insert $string to a file

    same error?
  19. blueeyedme

    Insert $string to a file

    i am getting the following error : ed: -e expression #1, char 7: Extra characters after command i used it like this sed -e '/MX/i\mx' test6 > test7

Part and Inventory Search

Back
Top