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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by GunnarD

  1. GunnarD

    Modifying /etc/hosts?

    Also take a look at /etc/nsswitch.conf.
  2. GunnarD

    What do ethernet colors mean?

    Yellow can also indicate that the port is in handshake mode.
  3. GunnarD

    Question about monitoring

    I use nagios ( http://www.nagios.org/ ) to monitor my servers. Relative easy to setup and can check several parameters (disc, cpu, ram, load ......, look at availabel plugins).
  4. GunnarD

    Remote management

    My server runs in runlevel 3 (No X). From my workstation wich is running linux with X i ssh ("ssh -X" if you dont have X-tunneling configured in server) to a server and then runs the tools i need. This way several users can use the machine at the sametime.
  5. GunnarD

    PS command help

    grep -v PID" removes the first line (column headers)
  6. GunnarD

    PS command help

    If you use "ps aux | grep /reports" and ps only outputs PID then you will never find /reports :) Try something like this: ps aux |grep /reports |awk {'print $2'} |grep -v PID
  7. GunnarD

    DNS and local.com

    Very bad ide to use an existing DNS domain as AD domain that you don't have control over. The problem is that if a machine does not use your AD/DNS server can't find your AD domain, insteed they find the "internet" domain local.com Solution: change your AD domain to something that does not...
  8. GunnarD

    field count in a delimited string

    Also simple i bash #!/bin/bash OLDIFS=$IFS IFS='|' Str="Tom|Andy|Jacob|Sid|Pat" n=`echo $Str|wc -w`; echo "N=$n"; IFS=$OLDIFS
  9. GunnarD

    loop through a string delimited by "|"

    Very simple i bash #!/bin/bash OLDIFS=$IFS IFS='|' Str="Tom|Andy|Jacob|Sid|Pat" for i in $Str; do echo $i; done IFS=$OLDIFS
  10. GunnarD

    ISC DHCP jsut broke

    Default for a windows machin that does not get a DHCP adress is 169.*.*.*. What i can see is that you have another DHCP server in your network (at address 10.0.1.1), try to find that machine. On the client type "arp -a" the you should se what mac-adress 10.0.1.1 has and try to trace it in you...
  11. GunnarD

    ISC DHCP jsut broke

    When you do "ipconfig /all" then you can see the adress of the dhcp-server who is given out that adress, is that the adress of your dhcp-server?
  12. GunnarD

    Change to all direcories and do some work inside them --script

    I Would write it something like this: for i in $(ls) ;do pushd . cd $i cd $(date +%d_%m_%Y) cat *.txt echo " we are now in $i and $(date +%d_%m_%Y)" popd sleep 5 done "pushd ." saves in which directory you are in, then you can cd many times without keeping track of it, and "popd"...
  13. GunnarD

    Linux DHCP Server Vendor Option 43? (SUSE 9)

    We are using: option vendor-encapsulated-options ",xxx.xxx.xxx.xxx,yyy.yyy.yyy.yyy"; Replace xxx.xxx.xxx.xxx and yyy.yyy.yyy.yyy with the ip-adress for yours controllers. Don't forget the first , :)
  14. GunnarD

    mac on linux

    You can't install MacOS X out of the box on anything except Apple's Macintosh. There is some cracked/modified version floating around which will run on a standard PC or on vmware, but i will not tell you where to find it, you must search for it yourself (not that hard! :) ).
  15. GunnarD

    Confused by pkgadd error

    You should use: pkgadd -d CClearcase-6.00.52-20080211.1-SunOS5.8-sparc.pkg

Part and Inventory Search

Back
Top