03-19-2006
I think the tool RTM was referring to is SMIT or SMITTY.
I am not into AIX either but I have access to AIX boxes and occassionally am forced
to use SMIT.
Because of this I am not particular fond of AIX because you are forced to do certain sysadmin tasks with such a tool.
As far as I remember SMIT gives you the chance to view the CLI commands SMIT was using behind the scenes, which on the other hand is nice.
HP-UX has a similar tool which is called SAM.
Like SMIT SAM dumps the OS commands for your inspection.
But unlike SMIT SAM isn't at all mandatory for any sysadmin task
but rather just another option,
which is exactly what I expect from a decent Unix OS.
In fact there are some sysadmin tasks that can only be done on the command line on HP-UX.
But you shouldn't regard this as a drawback.
Generally on Unix systems the CLI offers you the greatest liberty to perform your tasks exactly the way that suit your needs and preferences best.
And for repetitive or complex tasks you always have the choice to script.
The GUIs lure you with the false promise to make system administration clicking easy.
But I haven't come across any GUI that really lives up to their expectation.
I would advise to get as much shell exposure as possible.
You could however start with a tool like SMIT, SAM, Yast or whatever comes with your Unix.
And keep reading the manpages.
What discerns the Unix guru from the average user is only the fact that the first has more often read manpages, howtos, whitepapers, comments in source code etc.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I am i new Unix linux user. I've installed the linux 9 and i uninstall it. the first time i install the linux, the GRUB show the graphical interface. But after i reinstall it again, the GRUB change to command line. I can't boot my comp now. What should I do? And i don't know how to deal with... (1 Reply)
Discussion started by: lee_chongeu
1 Replies
2. Linux
Hi, I am i new Unix linux user. I've installed the linux 9 and i uninstall it. the first time i install the linux, the GRUB show the graphical interface. But after i reinstall it again, the GRUB change to command line. I can't boot my comp now. What should I do? And i don't know how to deal with... (4 Replies)
Discussion started by: lee_chongeu
4 Replies
3. SCO
Why can I not login to the SCO GUI interface login screen? (1 Reply)
Discussion started by: qphillips
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
Is there any good/easy tool or library which assists in developing a
command line interface for an application. The CLI should be able
to provide custom commands, allow programming/scripting as well.
For the latter case it could wrap a shell command and send it to BASH
for processing. (2 Replies)
Discussion started by: redirect
2 Replies
5. Solaris
Dear all,
I am a newbie in solaris and I need your advice.
I have a Solaris version 5.9 installed on Sunfire V240.
I am able to ssh the machine from putty remotely.
My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies
6. SCO
Hi all
I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface?
If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies
7. Solaris
Hi,
OS :- SUN
I am asked to invoke table menu via command line , after that i need to select option in the table menu like REPORT, STATUS ...
After login in to server , I am entering “yct”. It brings me a table with lot of option , I need to scroll down and then select “Report “ which... (3 Replies)
Discussion started by: bharats08
3 Replies
8. Solaris
Hi. I'm a Solaris newbie.
I'm using Solaris SunOS Version 11.4.0.15.0 through Oracle VM VirtualBox Manager on Windows.
When I start the VM, I get to a command line I can login to.
I've tried using:
/usr/dt/bin/dtconfig -e
However, I receive error "No such file or directory".
The... (3 Replies)
Discussion started by: SRD
3 Replies
LEARN ABOUT SUSE
sg_reset
SG_RESET(8) SG3_UTILS SG_RESET(8)
NAME
sg_reset - sends SCSI device, bus or host reset; or checks reset state
SYNOPSIS
sg_reset [-b] [-d] [-h] [-V] DEVICE
DESCRIPTION
The sg_reset utility with no options (other than DEVICE) reports on the reset state (e.g. if a reset is underway) of DEVICE. When given a
-d, -b, or -h option it requests a device, bus or host reset respectively.
In the linux kernel 2.6 series this utility can be called on sd, sr (cd/dvd), st or sg device nodes; if the user has appropriate permis-
sions.
In the linux kernel 2.4 series support for this utility first appeared in lk 2.4.19 and could only be called on sg device nodes. Various
vendors made this capability available in their kernels prior to lk 2.4.19.
OPTIONS
-b attempt a SCSI bus reset. This would normally be tried if the device reset (i.e. option -d) was not successful.
-d attempt a SCSI device reset. If the device seems stuck, this is the first reset that should be tried. This assumes the linux scsi
mid level error handler is not already in the process of resetting DEVICE.
-h attempt a host adapter reset. This would normally be tried if both device reset (i.e. option -d) and bus reset (i.e. option -b) were
not successful.
-V prints the version string then exits.
NOTES
The error recovery code within the linux kernel when faced with SCSI commands timing out and no response from the device (LU), first tries
a device reset and if that is not successful tries a bus reset. If that is not successful it tries a host reset. Users of this utility
should check whether such a recovery is already underway before trying to reset with this utility. The "device,bus,host" order is also rec-
ommended (i.e. first start with the smallest hammer).
SAM-4 defines a hard reset (which includes a device power on and a transport reset), a logical unit reset and a I_T nexus reset. A LU reset
and an I_T nexus reset can be requested via task management function (and support for LU reset is mandatory). In Linux the SCSI subsystem
leaves it up to the low level drivers as to whether a "device reset" is only for the addressed LU or all the LUs in the device that con-
tains the addressed LU. The "bus reset" is a transport reset. A "host reset" attempts to re-initialize the HBA that the request passes
through on route to the DEVICE. Obviously a "host reset" and a "bus reset" can cause collateral damage.
This utility does not allow individual SCSI commands (or tasks as they are called in SAM-4) to be aborted. SAM-4 defines ABORT TASK and
ABORT TASK SET task management functions for that.
AUTHORS
Written by Douglas Gilbert.
COPYRIGHT
Copyright (C) 1999-2006 Douglas Gilbert
This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR-
POSE.
sg3_utils-1.23 December 2006 SG_RESET(8)