Home » Infrastructure » Unix » Question on space usage >>
Question on space usage >> [message #98587] Thu, 20 January 2005 09:20 Go to next message
Messages: 75
Registered: June 2001
1.How can you tell how much space is left on a given file system and how much space each of the file system's subdirectories take-up in UNIX and WIN NT ?

2.How do you tell what your machine name is and what is its IP address in UNIX and NT ?

3.You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?

4.Illustrate how to determine the amount of physical CPUs a Unix Box possesses (LINUX and/or Solaris)

5. How do you increase the OS limitation for open files (LINUX and/or Solaris)?

I need answers to any or all of these above questions ASAP !!
Re: Question on space usage >> [message #98588 is a reply to message #98587] Fri, 21 January 2005 04:25 Go to previous message
Frank Naude
Messages: 4566
Registered: April 1998
Senior Member
I'll try to answer the Unix/Linux questions. Windows is not one of the platforms I would like to waste time on:

1. Use the df and du commands
2. uname -n and ifconfig -a
3. ipcs and SQL> oradebug SETMYPID followed by SQL> oradebug IPC
4. Solaris - prtdiag, Linux - cat /proc/cpuinfo
5. Solaris - set rlim_fd_max/rlim_fd_cur in /etc/system,
Linux - echo "16384" >> /proc/sys/kernel/file-max

Best regards.

Previous Topic: Read value to a variable in shell script
Next Topic: Fork() function in 'C'
Goto Forum:

Current Time: Sat Jan 16 12:29:55 CST 2021