Search Results

Search: Posts Made By: filthymonk
8,235
Posted By filthymonk
As for era, i am not asking to get the forumers...
As for era, i am not asking to get the forumers to google for me but to see if any of the experts here have any recommended website that they often visit....
8,235
Posted By filthymonk
thanks.... Franklin52
thanks.... Franklin52
8,235
Posted By filthymonk
how to begin with programming a TUI... i don't...
how to begin with programming a TUI... i don't know how to start programming and not encountering a problem ....
8,235
Posted By filthymonk
i am looking at creating a TUI (text user...
i am looking at creating a TUI (text user interface) and how to start.
8,235
Posted By filthymonk
Text User Interface
Any experts here have any idea how can i begin with programming a TUI with shell ? any advice or recommended website for me to refer?
3,551
Posted By filthymonk
omg, it works! thanks Annihilannic ....
omg, it works! thanks Annihilannic ....
3,551
Posted By filthymonk
how to rename all the files with one command?
How do i rename all the files using a script ?
My server create log files and save them with numbering behind the name. for e.g. daily_20080101.log.0001 and so on ... How do a script and crontab it...
4,835
Posted By filthymonk
thanks for the prompt reply.... i got it ... :)
thanks for the prompt reply.... i got it ... :)
4,835
Posted By filthymonk
help with while loop or any other alternative?
i=1
while [ $i -le $1 ]
do

mm=02
dd=03
yy=2008

echo "$mm$dd$yy"

i=$(( i+1))
echo "$i"
done



whenever i execute the script above i will get the error below:
...
3,390
Posted By filthymonk
Solaris 10 Certification
Hi,

Is it a must to take Solaris Admin I and II at the same time to get SCSA certified? Can i take Admin I now and take Admin II 7 Months later and get certified?

Rgds,
filthymonk
4,431
Posted By filthymonk
as for my side i am using it on a prstat command...
as for my side i am using it on a prstat command ..

what i've done is

prstat -s size | awk '{s+=$3}END{print s}'

:)
4,431
Posted By filthymonk
algorithm
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
21444 tomusr 213M 61M sleep 29 10 1:20:46 0.1% java/43
21249 root 93M 44M sleep 29 10 1:07:19 0.2%...
13,194
Posted By filthymonk
thanks :) got it thank you so much
thanks :) got it thank you so much
13,194
Posted By filthymonk
i'm using sun solaris 9, bash
i'm using sun solaris 9, bash
13,194
Posted By filthymonk
hmmm ... i echo $USERNAME and i got nothing
hmmm ... i echo $USERNAME and i got nothing
13,194
Posted By filthymonk
checking uid
How do i go about getting the uid of the user and verify ?


if [ $uid != 'root' ]
then
echo "You are not a superuser, please login as a superuser"
exit1;
fi


the above...
3,434
Posted By filthymonk
Thanks Raghuram
Thanks Raghuram
3,434
Posted By filthymonk
Please help on IF statements.
I had different problem scenarios with IF statement. Can any expert please enlighten me on the difference with these scenarios. Thank you.

1st Scenario:


testdate=`date +%Y%m`
test=`cat...
1,354
Posted By filthymonk
thanks vgersh :)
thanks vgersh :)
1,354
Posted By filthymonk
Help on awk
awk -F : '{ printf "%s,", $3; } END { printf "\n" }' >> $$.tmp

could any kind soul please explain the difference between the code above and the one below

awk -F : '{ printf "%s,", $4; } END {...
2,056
Posted By filthymonk
Thanks aigles
Thanks aigles
2,056
Posted By filthymonk
hmmm.. sorry anyway my code is not working...
hmmm.. sorry

anyway my code is not working its is not adding up the date producing the right output.
2,056
Posted By filthymonk
Weekly statistics using while loop.
Hi people i have a situation here: my server generates a statistics text file every 30 mins. i have a script (txt2csv.sh) to convert all the statistics for the day into one csv file. Therefore i am...
8,783
Posted By filthymonk
i am solaris 9, i dun have the top command only...
i am solaris 9, i dun have the top command only prstat and vmstat. when i use prstat it will show all the processes and all the CPU Usage, P&V memory but not the overall.
8,783
Posted By filthymonk
Checking CPU Usage and available free physical and virtual memories
Hi , can anyone please guide me on how do i go about getting the CPU Usage and available free physical and virtual memories?

i know i can get it by using prstat, but i want to get an overall CPU...
Showing results 1 to 25 of 53

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