Operating System - HP-UX
1833738 Members
2803 Online
110063 Solutions
New Discussion

Re: hpux options from ISL prompt.

 
SOLVED
Go to solution
RAC_1
Honored Contributor

hpux options from ISL prompt.

Recently I read a thread that spoke about hpux -M option from ISL. (In that case it was used to limit the memeory to be used.)

What such all options are available??
and is it documented somewhere?? I read hpux, pdc and isl, but of no use.

Thank you in advance.
There is no substitute to HARDWORK
10 REPLIES 10
D Block 2
Respected Contributor

Re: hpux options from ISL prompt.

for grins & giggles,
I got no error using the -M flag


ISL> hpux -M

Boot
: disk(0/0/1/1.15.0.0.0.0.0;0)/stand/vmunix
11890688 + 2723840 + 2915304 start 0x1f05e8
Golf is a Good Walk Spoiled, Mark Twain.
D Block 2
Respected Contributor

Re: hpux options from ISL prompt.

if you do a in mult-user mode:
$ man hpux
there is no such -M flag for memory size.
of course I do see the: hpux -lm
for lvm maint mode.

Golf is a Good Walk Spoiled, Mark Twain.
Binu_2
Advisor

Re: hpux options from ISL prompt.

Hi
I didnt see -M flag for memory size.

Try this link

http://www.uwsg.iu.edu/usail/man/hpux/hpux.1.html

NAME
hpux - HP-UX bootstrap

SYNOPSIS
hpux [-F] [-lm] [-a[C|R|S|D] devicefile] [-fnumber] [-istring] [boot]
[devicefile]
hpux ll [devicefile] (same as hpux ls -aFln)
hpux ls [-aFiln] [devicefile]
hpux set autofile devicefile string
hpux show autofile [devicefile]
hpux -v
hpux restore devicefile (Series 700 only; see DEPENDENCIES.)


Thanks
Binu
Devender Khatana
Honored Contributor

Re: hpux options from ISL prompt.

Hi,

See this man page of hpux.

http://docs.hp.com/en/B9106-90008/hpux.1M.html

HTH,
Devender
Impossible itself mentions "I m possible"
Bharat Katkar
Honored Contributor

Re: hpux options from ISL prompt.

RAC ... Some confusiom even -H option works.
I doubt if it has any significance. It may be just ignoring that parameter and continues booting.. :)
Regards,

HPUX> help
-- HPUX bootloader for IPF Help --

-------- supported commands ---------
boot [kernel] - boots HPUX kernel
help [-d] - help screen (-d to list debug commands)
mmap - show current EFI memory map
ls [-aRdnlogrtucpFLis] [path...]
ll [-aRdnlogrtucpFLis] [path...] (same as ls -alF)
setauto [-d] [str] - sets AUTO file (-d to delete AUTO file)
showauto - shows AUTO file
ver - prints version numbers
exit - exits bootloader

HPUX> boot -H
> System Memory = 4084 MB
loading section 0
................................................ (complete)
loading section 1
............ (complete)
loading symbol table
loading System Directory (boot.sys) to MFS
....
loading MFSFILES directory (bootfs) to MFS
...........
Launching /stand/vmunix
SIZE: Text:24510K + Data:5891K + BSS:5200K = Total:35602K

Console is on a Serial Device
Booting kernel...

You need to know a lot to actually know how little you know
Suraj Singh_1
Trusted Contributor

Re: hpux options from ISL prompt.

Yes, as Bharat stated, hpux must be ignoring any option which it cannot understand !!

Regards
What we cannot speak about we must pass over in silence.
Stephen Keane
Honored Contributor

Re: hpux options from ISL prompt.

There is also an undocumented -D flag, not to be confused with -aD. It takes an argument of a hex number which is the debugging level.

e.g.

ISL> hpux -D0x02

This comes in useful sometimes if you think a boot is hanging, try it again with the -D flag and you can see if it is actually doing anything.

The output isn't particularly meaningful, a whole load of low level system calls mainly involved in moving bytes around, but if the boot process is still printing debug messages at least you know it hasn't hung.




Robert-Jan Goossens_1
Honored Contributor
Solution

Re: hpux options from ISL prompt.

Hi Anil,

Check the answers from Dietmar.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?admit=716493758+1118390224634+28353475&threadId=47137

HPUX 11.0 RP5450

/root# lifcp /dev/rdsk/c2t2d0:HPUX - | strings | grep ^-
-h7
-h8
-maxmem=
-maxmem=
-a option needs an argument
-alFHn

Regards,
Robert-Jan
D Block 2
Respected Contributor

Re: hpux options from ISL prompt.

Anil,


h'mm, there is a maxmem flag, but this may not be supported..

-maxmem=MEM Set the maximum amount of memory to MEM.


Note: from an rp24xx 11.11

lifcp | strings
-------------------------------------
Unsupported commands. Some of these commands may not work.
hpux [-F] [-vm] [-lm] [-tm] [-a[C|R|S|D] devicefile] [-fnumber] [-istring] [boot
] [devicefile]
hpux ll [devicefile] (same as hpux ls -aFln)
hpux ls [-aFiln] [devicefile]
hpux set autofile devicefile string
hpux show autofile [devicefile]
hpux -v
hpux restore devicefile (Series 700 only.)
-F Use the SwitchOver/UX software. Ignore locks.
-vm Boot the system in VxVM maintenance mode.
-lm Boot the system in LVM maintenance mode.
-tm Boot the system in Tunable maintenance mode.
-a[C|R|S|D] devicefile Alternate devices to use
-fnumber Use the number and pass it as the flags.
-istring Set the initial run-level for init.
boot Boot a kernel.
ll List the contents of HP-UX directories.
ls List the contents of HP-UX directories.
set autofile Set the autofile.
show autofile Show the autofile.
-v Display the release and version numbers.
restore Recover the system. Series 700. 2 GBYTE Max.
autofl [-r|-w] Read or write the autofile.
-B0x???????? Set function enter/exit debug level to ????????.
TRACE2_IO 0x1
cat file Read the file.
-commands List supported commands.
-Commands List all commands.
-D0x???????? Set debug level to ????????.
TRACE_IO 0x1.
TRACE_ERROR 0x2.
TRACE_FS 0x4.
TRACE_DRIVER 0x8.
TRACE_SYSCALL 0x10.
TRACE_SPA 0x40.
TRACE_PERF 0x80.
TRACE_IS_DEV 0x100.
TRACE_DISK_TYPE 0x200.
TRACE_PBTDEV 0x1000.
UFS_COPYIN 0x10000.
TRACE_EXEC2 0x20000.
TRACE_EXEC4 0x40000.
TRACE_EXEC8 0x80000. Display argc, argv and
env.
-d Currently unused.
env List the environment.
-h Add debug level 0x40000000.
-I Interactive mode.
interact Interactive mode
-k Force load even if capabilities say no.
lifls List contents of a LIF directory.
-MMEM # Set boot_info.bt_mem to MEM #.
-maxmem=MEM Set the maximum amount of memory to MEM.
-n Currently unused.
-o Set overwrite flag in btflags.
-PCPU # Set boot_info.bt_ncpu to CPU #.
peek addr size Read memory.
peek [ device ] addr size
poke addr data data ... Write memory.
-pt1 Print trace1 after exec.
-pt2 Print trace2 after exec.
-qroot_file_path Turn on simulator quick load.
root_file_path - path to simulator root.
-Qroot_file_path Turn on simulator quick load.
root_file_path - path to simulator root/stand.
-R [num] Relocation on or off.
0 is on. Non 0 is off.
reboot Reboot the system.
-s Currently unused.
-w[number] Set narrow or wide mode.
0 is narrow. Non 0 is wide.
Unknown error
hpux(1M) version:
@(#) X11.11.A HP-UX() #1: May 10 2002 16:23:41

Golf is a Good Walk Spoiled, Mark Twain.
RAC_1
Honored Contributor

Re: hpux options from ISL prompt.

Robert-Jan Goossens's link helped. The undocumented option is there.

Anil
There is no substitute to HARDWORK