Re: What command is smit running?
- From: "Ford, Phillip" <phillip.ford@xxxxxxxxxx>
- Date: Thu, 23 Feb 2006 18:54:56 -0500
Two ways that I know: 1) when you get to the smit screen just before doing
it press F6. You can press F6 along the way but the command may not be
fully filled out yet. 2) clear the smit.log file and then do it once and
look in the smit log file. (1) does not require actually doing the command.
(2) you have to execute it at least once. (2) you can make a copy of the
log and turn it into a script. This is how I started AIX scripts a long
long (don't ask) time ago
--
Phillip
320-4462
-----Original Message-----
From: Jean-Marc Monnez [mailto:monnez.jean-marc@xxxxxxxxxxxx]
Sent: Thursday, February 23, 2006 2:51 AM
To: aix-l@xxxxxxxxxxxxx
Subject: Re: What command is smit running?
Some years ago, I needed to automate multiple AIX installations, I had to
search the same kind of things (commands run by smit when hitting a Function
key).
I'm sorry I can't find the info again, but I know the first step for you is
to look the ODM base, where the smit screens are described.
The commands you are looking after are among the ODM informations.
Sorry I don't remember the details.
HTH.
-- JMM
-----------------------------
Jean-Marc MONNEZ
MSA / AGORA / ATD
monnez.jean-marc@xxxxxxxxxxxx
-----------------------------
cbaker@xxxxxxxxxxxx a écrit :
Folks,
Maybe for more in-depth F4 listings, there is more info, but I don't think
so.
As a test I ran smit install > Install and Update Software > Install
Software
I proceeded to use F4 to pick the cdrom from the list of "INPUT devices /
directory for software"
And I followed that up with another F4 to get a list of "SOFTWARE to
install".
At that point I picked a few filesets, returned to the "Install Software"
page and had it "PREVIEW only". After that I got out of smit and examined
both the /smit.log and the /smit.script files. As I expected, the data is
very rich and I have used it many times, but there is no info on how it
generated the two lists. It just jumps to show the command with the choices
I made from the F4.
So, just like the F6, there seems to be some limit.
In the early-1990's I actually created extra smit panels for my own
applications. (This was before there were good/any graphical programs or
GUI panels.) If you looked at my code, you could find what I called when
the F4 key was hit. It was usually a shell script or C program I had to
write. I don't suppose the source for this smit panel is available?
Well,that was my $0.02
Christopher M. Baker
Senior Technical Support Analyst
DSE/TCO
Goodyear Tire and Rubber Company
330.796.1725
=================================================
Contains Confidential and/or Proprietary Information.
May not be copied or disseminated without the expressed
written consent of The Goodyear Tire & Rubber Company.
=================================================
Justin Bleistein <justin.bleistein@xxxxxxxxxxxxxxxx>
Sent by: IBM AIX Discussion List <aix-l@xxxxxxxxxxxxx>
02/22/2006 09:45 AM
Please respond to
IBM AIX Discussion List <aix-l@xxxxxxxxxxxxx>
To
aix-l@xxxxxxxxxxxxx
cc
Subject
Re: What command is smit running?
smit.script and smit.log are the best files to see this information.
Thanks.
--Justin Richard Bleistein
AIX Systems Administrator
"Green, Simon" <Simon.Green@xxxxxxxxxxxxx>
Sent by: IBM AIX Discussion List <aix-l@xxxxxxxxxxxxx>
02/22/2006 09:32 AM
Please respond to
IBM AIX Discussion List <aix-l@xxxxxxxxxxxxx>
To
aix-l@xxxxxxxxxxxxx
cc
Subject
Re: What command is smit running?
I think that if you run smit with the "-v" flag you should see the
information you want in the smit.log file. Use "-x" as well if you just
want the commands logged without actually creating a new VG.
--
Simon Green
Altria ITSC Europe s.a.r.l.
AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html
<https://new-lists.princeton.edu/listserv/aix-l.html>
New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
<http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX>
N.B. Unsolicited email from vendors will not be appreciated.
Please post all follow-ups to the list.
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx
<mailto:aix-l@xxxxxxxxxxxxx> ] On Behalf Of
Shawn Bierman
Sent: 22 February 2006 13:38
To: aix-l@xxxxxxxxxxxxx
Subject: Re: What command is smit running?
F6 is not a valid option in the F4 selection window.
When in that screen, press F6.pobrien@xxxxxxxxxxx 2/21/06 3:07:36 PM >>>
-----Original Message-----
From: IBM AIX Discussion List [mailto:aix-l@xxxxxxxxxxxxx
<mailto:aix-l@xxxxxxxxxxxxx> ] On Behalf
Of
Shawn Bierman
Sent: Tuesday, February 21, 2006 12:17 PM
To: aix-l@xxxxxxxxxxxxx
Subject: What command is smit running?
When I do the following:
smit lvm
Volume Groups -> Add a Volume Group with Data Path Devices
and I press F4 over the "PHYSICAL VOLUME names" option to get a list
of
available vpaths
What command does smit run at that point to generate the list of
vpaths
that are available?
thanks,
-shawn
*********************************************************************
This message and any attachments are solely for the intended recipient. If you are not the intended recipient, disclosure, copying, use or distribution of the information included in this message is prohibited -- Please immediately and permanently delete.
- Prev by Date: Re: 4.3.3 to 5.3
- Next by Date: Weirdness with mksysb
- Previous by thread: Re: What command is smit running?
- Next by thread: User authentication via LDAP (NetWare eDirectory).
- Index(es):
Relevant Pages
- Re: What command is smit running?
... What command is smit running? ... As a test I ran smit install>
Install and Update Software> Install ... generated the two lists. ... (AIX-L) - Re: What command is smit running?
... As a test I ran smit install> Install and Update Software> Install ...
generated the two lists. ... What command is smit running? ... (AIX-L) - Re: Good resources for new AIX sys admin, coming from Tru64
... > I'm a sys admin who's worked on Compaq Tru64 for several years. ... Then
learn how to press a key and see the underlying command. ... RTFM for smit. ...
to know alt_disk_install for upgrades to the O/S. ... (comp.unix.aix) - Re: Sysback to a DVD question
... Since you're using smit in this case, sbsmitout is running the sysback ...
> smit and pulling out the command line. ... > indicated, the script works
fine with the -2, but being anal, I would really ... (AIX-L) - AIX 3.2.55 on 7009-C19/GT3i/6091-19i
... Installed AIX 3.2.5 from a tape okay but it came up as a command line ... Also
smit was missing things like tcpip, list what is on a tape etc. ... Using smit to
install CDE, Xwindows, enter /dev/rmt0 and at the software to ... (comp.sys.ibm.ps2.hardware)