03-25-2007
Turn off the associated services. How to turn them off depends on the version of Solaris you're running.
Turn off unnecessary daemons such as sendmail if you're not running a MTA or apache if you're not running a web server.
Carl
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I have a log file which looks like this :
I want to cut out some text and get printed only : "HTTP GET" and "Time duration: 1013 mls. (1 sec.)" I tried searching the forum for such solution, but I was unable to find it.
I also tried awk '/duration/ { print $0 }' mylogfile.log,... (2 Replies)
Discussion started by: sysgate
2 Replies
2. Shell Programming and Scripting
Hi Can any one help me remove the unwanted data? I would want to remove the complete event id 4910 ( the type there is INFO), that means, I have to remove starting from 7th - 19th lines. can any one of you please help?
Thanks, (24 Replies)
Discussion started by: hitmansilentass
24 Replies
3. Shell Programming and Scripting
Hi All,
I have the below input and i only want to filter out some un-wanted info from here. Expected output is below. Can somebody help ?
The catch is that i want to grep those lines with term "k=" and lines with term "**" as the 1st column and "07" as the last column. And the number of... (15 Replies)
Discussion started by: Raynon
15 Replies
4. Shell Programming and Scripting
Hi,
I am stuck on writing a script that reads a file, retains wanted data but discards unwanted data from a CSV file.
This is a sample of my table {not the actual data)
ID Color tel_num Name color2 color3
abcdef green 5551212 jj88 red blue
acbdfe yellow... (5 Replies)
Discussion started by: t524ube
5 Replies
5. Solaris
I got a system which was installed with SUNWCXall cluster installed on it and i want remove unwanted software like GMNOME, Java Desktop System, Staroffice and numerous other softwares .. i want to do an automated removal of these packages where its uninstalled by itself ..from the is there any... (4 Replies)
Discussion started by: fugitive
4 Replies
6. Shell Programming and Scripting
I have a .xml file, where i need some output. The xml file is like:
Code:
<?******?></ddddd><sssss>234</dfdffsdf><sdhjh>534</dfdfa>.........
/Code
I need the output like:
code
234
534
.
.
.
/code
How can i do it? (5 Replies)
Discussion started by: anupdas
5 Replies
7. Shell Programming and Scripting
Hi,
I got a log file and I want to grep out a list of unwanted line which are IP's.
Basiclly I want everything ecxept the ip's from my list.
If I do a
while read line
do
grep -v $ip_from_my_list logfile
done <ip_list
it just grep's one IP at a time and repeats. :(
Thanks for... (3 Replies)
Discussion started by: stinkefisch
3 Replies
8. Programming
can someone provide an example, where if the parent process quits for any reason, then the child process will also close? (3 Replies)
Discussion started by: omega666
3 Replies
9. Shell Programming and Scripting
#
Total
Table name
-----------------------+--------+--------------------------------+--------------------------+---------------
GK_AMP
GK_AMP
GK_AMP
GK_AMP
GK_AMP
GK_AMP
(6
how can i extract only table name excluding other lines ?pls suggest (4 Replies)
Discussion started by: rocking77
4 Replies