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 Mike Lewis 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: *

  • Users: aithosn8
  • Order by date
  1. aithosn8

    Problem with SAR

    When we have this sort of trouble I run the following: ps -efo pcpu,pid | awk '{if ($1 >= 10) print $0}' This first command will give you the pid's of "hungry" processes. Next I run: for each_pid in `ps -efo pcpu,pid | awk '{if ($1 >= 10) print $2 }'` do...
  2. aithosn8

    Motherboard with ISA slots

    jojo11, I can empathize with your situation. We have also experienced trouble upgrading some of our servers running just a single ISA voice card and RAID-5 all while Running SCO 5.0.4. We looked at switching them over to PCI but the cost was astronomical. Although I do not know of any boards...
  3. aithosn8

    Automating FTP using scripts

    Here is what I use to FTP: ftp -inv <<! open <IP Address or system name from host file> user <username> <password> <any unix ftp commands....> quit ! The &quot;<<!&quot; signals the unix shell for the beginning of the FTP script, and the &quot;!&quot; signals the end. Text enclose within <>...
  4. aithosn8

    Changing all at once

    What I would do is: # grep for olddomain in all files and print only file names to variable each_file for each_file in `fgrep -l olddomain *` do # sed olddomain to newdomain for each filename in variable each_file sed 's/olddomain/newdomain/g' $each_file > ${each_file}.tmp mv...
  5. aithosn8

    freeing allocated memory...

    When it come to UNIX and I would imagine LINUX (since it was built from UNIX), memory management and allocation can be tricky. Since UNIX constantly spawns processes and those processes spawn processes and so on... an issue arrises where, depending on the system usage, UNIX starts paging and...
  6. aithosn8

    UNIX: find files for a date range (only in the current directory)

    Normally to locate a group of files from a specific date range I would use the find command, however in this situation I think a grep would work better. ls -l | grep &quot;Sep [1-7]&quot; > output file Hope that helps aithosn8 aithosn8@lycos.com
  7. aithosn8

    Can I execute a system command within in AWK program?

    I have found an answer for my own question.&nbsp;&nbsp;To run a system command from inside an awk program simply follow the syntax below where command is the system command being run.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;system(&quot;command&quot;)<br><br>&nbsp;~aithosn8
  8. aithosn8

    Can I execute a system command within in AWK program?

    Is there a way to execute unix shell commands from inside an awk program?&nbsp;&nbsp;Thanks in advance.<br><br>&nbsp;~aithosn8

Part and Inventory Search

Back
Top