Search Results

Search: Posts Made By: plmachiavel
2,271
Posted By MadeInGermany
Tip: file_exists function
Often a wildcard test on files is needed.
Because test -f ... or [ -f ... ] have problems with zero or many arguments, and even [[ -f ... ]] has problems, and I have seen some ugly work-arounds,...
2,269
Posted By Yoda
Try piping the output to the below code:- ...
Try piping the output to the below code:-

awk 'BEGIN { print "iface ip zonename"; } /^nxge/,/[.*]$/ {
if(match($1,/nxge/)>0)
printf("\n%s",$1);
...
Forum: Solaris 12-02-2011
4,010
Posted By bartus11
If one RMAN session is able to reach 1GB/s...
If one RMAN session is able to reach 1GB/s throughput, then yes. You can monitor the saturation of aggregation with: dladm show-aggr -s -i 1
Forum: Solaris 09-28-2011
4,313
Posted By ctsgnb
you can even save 2 variables your_command |...
you can even save 2 variables

your_command | while read a b b c c; do echo $a";"$b";"$c; donealso :
your_command | sed 's/;[^;]*;/;/2;s/;[^;]*;/;/'or
your_command | awk -F\; '{sub($2 FS $3 FS...
Forum: Solaris 09-22-2011
3,427
Posted By bartus11
It can also be done fairly easily with projects.
It can also be done fairly easily with projects.
Forum: Solaris 08-20-2010
18,744
Posted By unclefab
you can "ptree" on the user PID as well : ...
you can "ptree" on the user PID as well :

#ps -ef |grep ssh
#ptree <pid>

Can Do a loop (bash):

for (( ; ; ));do ptree <pid>; sleep 10; done

Fabien
Forum: Solaris 08-05-2010
19,286
Posted By jim mcnamara
find /path -inum [number] -exec rm -rf {} \; ...
find /path -inum [number] -exec rm -rf {} \;

Note: there are syntax errors in the above post. The -r also is potentially dangerous if the file is a directory - all of the subdirectories and...
Forum: Solaris 02-24-2008
60,440
Posted By Perderabo
Maybe something like: find . -type d -print |...
Maybe something like:
find . -type d -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'
2,105
Posted By Scrutinizer
Welcome to the forum, plmachiavel (as a member)....
Welcome to the forum, plmachiavel (as a member). Try using read, like so:
auditpath="/path/audited"
auditoutput="/export/home/XX/server_path_audited.txt"
find $auditpath -type d | grep -v...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 05:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy