Monday, November 10, 2014

How to check if I am running a uniprocessor kernel or a multiprocessor kernel?

/unix is a symbolic link to the booted kernel. To find out what kernel mode is running, enter ls -l /unix and see what file /unix it links to.
The following are the three possible outputs from the ls -l /unix command and their  corresponding kernels:

/unix -> /usr/lib/boot/unix_up                                                            # 32 bit uniprocessor kernel
/unix -> /usr/lib/boot/unix_mp                                                           # 32 bit multiprocessor kernel
/unix -> /usr/lib/boot/unix_64                                                            # 64 bit multiprocessor kernel

No comments:

Post a Comment