New answers tagged hp-ux
As the other answer states, there is no simple task to do that. You have to search the whole filesystem. Here is an approach: find / -type l -ls 2>/dev/null | grep -P " -> .*HORCM$" It uses find to search all links, then prints them in a form like ls -dils. At the end, the complete output is grepped for the folder you search. It may take a while to ...
There's no way of knowing what symbolic links exist that point to a particular directory or whatever, besides simply searching through the entire filesystem for symbolic links and checking what those links point to.
Solution found in a very good script http://www.cfg2html.com/ echo "VSZ(KB) PID RUSER CPU TIME COMMAND" UNIX95= ps -e -o 'vsz pid ruser cpu time args' |sort -nr|head -25
You first need to deactivate the physical volume: # pvchange -a n /dev/dsk/c2t0d0s2 After that, # vgcfgrestore -n /dev/vg00 /dev/rdsk/c2t0d0s2 # pvchange -a y /dev/dsk/c2t0d0s2 Don't do the pvcreate on the whole disk, that will screw up the disk layout.
Top 50 recent answers are included