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 wOOdy-Soft 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 mediatech

  1. mediatech

    Different SSA Adapters sharing an SSA loop

    Can anyone think of a reason why two different SSA adapters could not share the same loop? I know that RAID'ED and non-RAID'ED disks do not co-exist well, however cannot think of a reason why different adapters would be a problem? I have not tried this yet, but am think of using two 43p's with...
  2. mediatech

    restricting chmod usage

    You can rename chmod, then replace it with a script that checks that the user is authorised, then calls the real chmod. You need to set the real chmod and script to suid for this to work, so be careful.
  3. mediatech

    How to obtain the system shutdown time from Error Log ?

    "/etc/shutdownlog" gives times and reasons for when the system was shutdown (not crashes etc.) "who -b" gives last startup time. Using a small script running from "rc.d" you could record each boot to a file, and tail the "shutdownlog". This should result...
  4. mediatech

    Physical memory on HP-UX

    Some other methods: # echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem (The results of these commands are in memory pages, multiply by 4096 to obtain the size in bytes) /usr/sam/lbin/getmem These only work if you are "root". You can write a very simple C program that...
  5. mediatech

    Restricting "su"

    I have written an "su" wrapper script which limits which users can switch, to which accounts. It all works very well until I call it as part of my Serviceguard package. The only line that is significant is: su "$@" This calls the real "su" from my script. If it is...
  6. mediatech

    file system keeps filling to 100%

    Hi Rudy, I have seen this problem in AIX when there is an open file being written to the filesystem. Have you tried to Un/remount this filesystem, or to reboot the server? If so does this make a difference? Regards, Andrew (Amsterdam).

Part and Inventory Search

Back
Top