08-08-2007
UNIX.com,ITRC, and redhat knowledgebase. Although I now work in a Solaris/linux shop. So the ITRC is not quite what it used to be for me.
In general it is the most responsive community I have seen. This one being my favorite of course.
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Here's a fun one...
What's the best way to script looking for a process when it runs? For example, what if a process is running that's been set up graphically, which you would like the entire command line string for? Say it's rpm for the sake of having a command to use as an example. You want... (2 Replies)
Discussion started by: sysera
2 Replies
2. HP-UX
Hi
I have a doubt regarding process states in HP unix system. Is there a way to check whether a process is hanged or still actively running? I have few scripts which run for a long time. but sometimes these are getting hanged. But i'm never sure whether they are running or waiting in kind of... (4 Replies)
Discussion started by: truth
4 Replies
3. AIX
Hi,
Is there any command that I can issue to check who is actively using my harddisk? I notice that yesterday the hdisk0 and hdisk1 is really actively being used and is reaching almost 100%. I realized that this is because of paging which is climbing up to 70%.
However, just this morning... (3 Replies)
Discussion started by: depam
3 Replies
4. AIX
Dear all,
I am faced with an error "UX ER087-0" failling to connect to the server.
Any ideas of what might be causing the error?
Many thanks (17 Replies)
Discussion started by: captain.scorpio
17 Replies
5. Shell Programming and Scripting
ok, here's the scoop, google has similar, but nothing that quite fits the bill. here is what I'm up against:
i have a linux system that is running both kde 3.x and gnome 2.x, selectable via gdm.
the kde 3.x app menu is heavily modified and i'm looking for a way to import that over to the... (0 Replies)
Discussion started by: macphail
0 Replies
6. What is on Your Mind?
Hello All,
Greetings!!
Have a thought about how could we encourage more users to post and participate more on UNIX.com(because more we get questions, more we learn more), few are my ideas which I am posting feel free to add/edit more ideas in here. Keeping this as a POLL too.
I- Allow... (10 Replies)
Discussion started by: RavinderSingh13
10 Replies
LEARN ABOUT MINIX
switch_root
SWITCH_ROOT(8) System Administration SWITCH_ROOT(8)
NAME
switch_root - switch to another filesystem as the root of the mount tree
SYNOPSIS
switch_root [-hV]
switch_root newroot init [arg...]
DESCRIPTION
switch_root moves already mounted /proc, /dev, /sys and /run to newroot and makes newroot the new root filesystem and starts init process.
WARNING: switch_root removes recursively all files and directories on the current root filesystem.
OPTIONS
-h, --help
Display help text and exit.
-V, --version
Display version information and exit.
RETURN VALUE
switch_root returns 0 on success and 1 on failure.
NOTES
switch_root will fail to function if newroot is not the root of a mount. If you want to switch root into a directory that does not meet
this requirement then you can first use a bind-mounting trick to turn any directory into a mount point:
mount --bind $DIR $DIR
SEE ALSO
chroot(2), init(8), mkinitrd(8), mount(8)
AUTHORS
Peter Jones <pjones@redhat.com>
Jeremy Katz <katzj@redhat.com>
Karel Zak <kzak@redhat.com>
AVAILABILITY
The switch_root command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux June 2009 SWITCH_ROOT(8)