How to view Ramdisk Initialization Process


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How to view Ramdisk Initialization Process
# 1  
Old 07-11-2011
How to view Ramdisk Initialization Process

Dear all,

I read some articles about initrd, but how to view this process in my computer Smilie?

Is there anyway to display to the screen or write to the log file?
# 2  
Old 07-11-2011
What did you read about initrd? Did none of these articles mention that it's not a process, but a preliminary filesystem image that is only used until the root partition becomes available? As soon as that step is reached it's no used by the system until the next reboot.
# 3  
Old 07-11-2011
Dear pludi
Maybe my explanation is not clear enough

I mean, how can I view when initrd is initialized? What happens in this time?
# 4  
Old 07-11-2011
You can view messages from the kernel using dmesg. These may or may not contain information about initrd. But basically there's not much happening: the kernel reads the file provided at the command line, unpacks it, and runs the init binary contained within.

The only way I can think of to get more information would be to attach to a kernel debugger interface, if present.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. What is on Your Mind?

Moving from Desktop View to Mobile View

See attached video for a demo on how to move back and forth from the desktop view to the mobile view. Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on. Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies

2. UNIX for Dummies Questions & Answers

View User Mode Call Stack of Hung Process

I have a multithreaded usermode program(actually a daemon) which is in hanged state. To debug it I tried attaching the process to gdb, but the gdb hangs. gstack also gets hanged. I peeped into the proc file system and saw the process to be in sleeping state. /proc/sysrq-trigger I guess... (1 Reply)
Discussion started by: rupeshkp728
1 Replies

3. Shell Programming and Scripting

Sorting in ramdisk

Hi, I have sort command that sorts in ramdisk created by a script 'mktd' and later unmounted by script 'rmtd'. The platform is AIX. # code sudo -E mktd 44 # create ramdisk of size 44GB sort ... -k1,1 -2,2 ... # sort a file using the ramdisk on keys 1 and 2 sudo -E rmtd # unmount... (1 Reply)
Discussion started by: ChicagoBlues
1 Replies

4. UNIX for Advanced & Expert Users

View process history

Hi, Is there any way to view process history. Suppose I had killed a few procs yesterday and now I want to see what were the procs that were running yesterday? (2 Replies)
Discussion started by: King Nothing
2 Replies

5. Shell Programming and Scripting

Ramdisk already defined

I am trying to mount the ramdisk for sorting, and i get the message "ramdisk already defined." What exactly is /dev/ramdisk0 and is it safe to remove it? # command sudo -S mktd 60 <<EOF initiate EOF # block of code for mktd ... && { print "ramdisk already defined." ... (1 Reply)
Discussion started by: ChicagoBlues
1 Replies

6. UNIX for Dummies Questions & Answers

view others process

Hello, I hope this is an easy question. I have a few users who login through SSH and some times their bash session is using 100% cpu even though its been "idle" according to who for several days. I would like to know what command the user ran in their bash session to peg the cpu out but am... (6 Replies)
Discussion started by: taheri6
6 Replies

7. Shell Programming and Scripting

how to create a ramdisk

Hi all, I wanted to make a ramdisk for a opensolaris distro. I have very little idea of how to create it? can anyone pls help me out? Is there any tutorial on creating it on the net??? Also can i make changes to the actual os itself by changing the scripts involved in ramdisk then use it to... (1 Reply)
Discussion started by: wrapster
1 Replies

8. UNIX for Dummies Questions & Answers

how to view my own process in a multiuser envrionment

Hi , I am new to unix , tell me how can I check which all are the processes which were started by me or under my account , its a multiuser enviornment , I tried with ps -f , but it does not give me the complete answer , it gives me which shells I hv opened like tht , I want the processes like ... (4 Replies)
Discussion started by: vishsid3
4 Replies

9. UNIX for Dummies Questions & Answers

Unix ramdisk?

This may be a stupid question but I've noticed that there is quite a bit out there currently for a ramdisk on that Redmond company's OS. Is there a ramdisk made for Unix and if not, why? (6 Replies)
Discussion started by: keelba
6 Replies
Login or Register to Ask a Question