Sponsored Content
Operating Systems Solaris Checklist on Preventive Maintenance Post 302138721 by DukeNuke2 on Wednesday 3rd of October 2007 06:48:13 AM
Old 10-03-2007
Quote:
Originally Posted by frankoko
How to perform that? Would you like to add the complete command..
Anything else everybody?

Thank You
to view log files and see if everything is ok is basic knowledge. there aren't any special commands to do that.
if you don't know how to view log files and check basic system settings you should better stay with windows Smilie

check the man pages for the following commands:

cat, vi, df, du, uptime, prtdiag, dmesg, iostat, vmstat, netstat, ...

there are many others but the above are a good start.
 

9 More Discussions You Might Find Interesting

1. HP-UX

whats diff. B/W /etc/checklist & /etc/fstabs

hi all, I juz want to know y tr r 2 files of same content present... is tr any sp. reason s der. b/w /etc/checklist & /etc/fstab (1 Reply)
Discussion started by: rrlog
1 Replies

2. Shell Programming and Scripting

Checklist for Shell Script reqd

Hi, Can anyone provide me with the Code Review Checklist for Shell scripts ?? Thanks in advance. (2 Replies)
Discussion started by: Shivdatta
2 Replies

3. Shell Programming and Scripting

Determine number of checklist in zenity dynamically...

Hi, In my Shell Script i am counting the duplicate IPs in LAN,...After counting i have to show in checklist in zenity which one to delete from the LAN........so initially i dont know no. of duplicate IPs in the LAN....Hence i can determine how many check list needed..... Duplicate IPs... (3 Replies)
Discussion started by: shivarajM
3 Replies

4. Shell Programming and Scripting

[Bash] Checklist

Hello! What is the script for a checklist? This: dialog --backtitle "Mesage" \ --title "Title" \ --checklist "Choose your favorite distribution:" 10 40 3 1 "RedHat" on 2 "Ubuntu Linux" off 3 "Slackware" off ??? I need help! (0 Replies)
Discussion started by: []Adri4n
0 Replies

5. OS X (Apple)

Creating Shell Script for STIG Checklist MAC OSX 10.6

Hello, I am new to Mac OSX and shell scripting all together. I was wondering if anyone could help get me started in a few scenarios so that I would be able to automate checking a system against a STIG checklist. A STIG Checklist is a DoD Guideline for securing systems. Here is the first... (3 Replies)
Discussion started by: john3j04
3 Replies

6. AIX

AIX Production Readiness Checklist (PRC) - check list

Hello Everyone, Can anyone please provide me the checklist for validating our newly built AIX LPARs. AIX is new in our environment. So I'm looking for a reference document or checklist to verify new LPARs. I believe most of the companies does have some kind of check list to verify. please... (4 Replies)
Discussion started by: System Admin 77
4 Replies

7. Red Hat

Rhel upgrade - pre maintenance checklist

I going to be updating a few of our rhel5.5 servers this weekend to rhel5.10. I'll be making a checklist for pre & post maintenance comparisions. so far I'll be checking, services running filesystems netstat ifconfig uname oracleasm multipath just basic stuff if it were you what... (5 Replies)
Discussion started by: mkeyes001
5 Replies

8. UNIX for Dummies Questions & Answers

Combine 2 Outputs with a single Checklist

Checklist 1.1; Contains Solaris 1.2; Contains Patches 1.3; <no output> 1.3.1; <no output> Output1 1.1 Solaris 10 8/07 s10s_u4wos_12b SPARC 1.2 Patch: 127714-03 Obsoletes: Requires: 120011-14 Incompatibles: Packages: SUNWsshcu, SUNWsshdu, SUNWsshu Patch: 128253-01 Obsoletes:... (5 Replies)
Discussion started by: alvinoo
5 Replies

9. UNIX for Dummies Questions & Answers

awk two lines with two checklist

Hi there, I am trying to get two lines of the checklist 2.3; 2.4; 2.5; $file='Input1 Input2' echo -e "2.3 Only enable ftp when necessary" cat $file | awk '/2.4/ {P=0} /2.3/ {P=1} P' | grep -iq "not installed" && echo T || echo F echo -e "2.4 Only enable rlogin/rsh/rcp when... (0 Replies)
Discussion started by: alvinoo
0 Replies
SHELL-QUOTE(1p) 					User Contributed Perl Documentation					   SHELL-QUOTE(1p)

NAME
shell-quote - quote arguments for safe use, unmodified in a shell command SYNOPSIS
shell-quote [switch]... arg... DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands or files with embedded white space or shell globbing characters safely. Here are a few examples. EXAMPLES
ssh preserving args When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and passes them to "$SHELL -c". This doesn't work as intended: ssh host touch 'hi there' # fails It creates 2 files, hi and there. Instead, do this: cmd=`shell-quote touch 'hi there'` ssh host "$cmd" This gives you just 1 file, hi there. process find output It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote: eval set -- `find -type f -print0 | xargs -0 shell-quote --` debug shell scripts shell-quote is better than echo for debugging shell scripts. debug() { [ -z "$debug" ] || shell-quote "debug:" "$@" } With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can. save a command for later shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are things the user can't pass through), you can do something like this: user_switches= while [ $# != 0 ] do case x$1 in x--pass-through) [ $# -gt 1 ] || die "need an argument for $1" user_switches="$user_switches "`shell-quote -- "$2"` shift;; # process other switches esac shift done # later eval "shell-quote some-command $user_switches my args" OPTIONS
--debug Turn debugging on. --help Show the usage message and die. --version Show the version number and exit. AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions. AUTHOR
Roderick Schertler <roderick@argon.org> perl v5.8.4 2005-05-03 SHELL-QUOTE(1p)
All times are GMT -4. The time now is 03:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy