12-02-2005
Hi Perderabo,
this is sun box running solaris 8.few days back a file system was full.
i had made space in it..but it didn't work out.
Actually,it was not FS problem...bcoz when i observed ,i found that system was running on very low memory ( hardly 200 MB real) ,so i guess only root was allowed.
I killed few sessions;brought down my databse;& re-booted machine.
now i hav almost 7GB real memory free after reboot,so its working now.
Idea of rebooting was the first to struck at my mind..but that ,i guess,could not be a solution all time.
my worry was where all memory was getting used?
bcoz most of the processes were run by root itself..( daemon etc..)
thanks for your suggestion,
regards
Abhijeet
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I am very new to the world of Unix, in the middle of a crash course as I write this due to a system failure for my company. This system went down approximately 24 hours ago due to some apparent thunderstorms that passed through. The problem is that my company, like many others, has laid off... (5 Replies)
Discussion started by: Phaedirean
5 Replies
2. HP-UX
fatal server error:
couldn't open x pointer device! is one attached?
xinit: connection refused (errno 239): unable to connect to X server
xinit: no such process (errno3): server error. (1 Reply)
Discussion started by: nobody
1 Replies
3. UNIX for Advanced & Expert Users
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies
4. AIX
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (2 Replies)
Discussion started by: mcastill66
2 Replies
5. UNIX for Dummies Questions & Answers
I'm trying to set up x2x between my desktop and laptop, and as a precondition to that, I'm just trying to get each to be able to display programs on the other (e.g. "desktop$ xterm -display laptop:0").
OS is Ubuntu 5.10 and X version is X.org 6.8.2
I've set up X to run without -nolisten, and... (1 Reply)
Discussion started by: vertigo23
1 Replies
6. Programming
hi
i have written a program to display files in a directory
but it doesnt compile on the sun/solaris system....
im using gcc(inbuilt compiler)
im generally used to working on a windows environment so maybe im overlookiing something
ive added comments to help readability of the program
i also... (2 Replies)
Discussion started by: anything2
2 Replies
7. UNIX for Dummies Questions & Answers
Hi all, dummy here.... I have major errors on entering the shell. On login I get:
-bash: dircolors: command not found
-bash: tr: command not found
-bash: fgrep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: id: command not found
-bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies
8. UNIX for Advanced & Expert Users
Hi,
I can see "udpInOverflows" errors when I execute 'netstat -s' on my Solaris box.
The number of errors are small - about 40.
e.g.
$ netstat -s|grep udp
UDP udpInDatagrams =1249190732 udpInErrors = 0
udpOutDatagrams =31663030 udpOutErrors = 0... (1 Reply)
Discussion started by: chaandana
1 Replies
9. Shell Programming and Scripting
Hi I am new to shell scripting. I am using a shell script to create a SQL script file and then call it as well. The created SQL script file has calls to 2 other sql script file, as well as compile and execute a procedure. all this works fine. I am getting some simple errors. My code is as below
... (8 Replies)
Discussion started by: man_expo
8 Replies
10. Shell Programming and Scripting
ln: Filename1 and Filename2 are identical.
Seems to be an error.. Unable to proceed further
Can you ppl help me? (5 Replies)
Discussion started by: DevM
5 Replies
LEARN ABOUT MOJAVE
reboot
REBOOT(2) BSD System Calls Manual REBOOT(2)
NAME
reboot -- reboot system or halt processor
SYNOPSIS
#include <unistd.h>
#include <sys/reboot.h>
int
reboot(int howto);
DESCRIPTION
reboot() reboots the system. Only the super-user may reboot a machine on demand. However, a reboot may be invoked automatically in the
event of unrecoverable system failures. Programs other than reboot(8) should not call reboot(). Shutdown(8) or a higher-level API will shut
the system down cleanly.
Howto is a mask of options; the system call interface allows the following options, defined in the include file <sys/reboot.h>, to be passed
to the new kernel or the new bootstrap and init programs.
RB_AUTOBOOT The default, causing the system to reboot in its usual fashion.
RB_ASKNAME Interpreted by the bootstrap program itself, causing it to prompt on the console as to what file should be booted. Normally,
the system is booted from the file ``xx(0,0)bsd'', where xx is the default disk name, without prompting for the file name.
RB_DFLTROOT Use the compiled in root device. Normally, the system uses the device from which it was booted as the root device if possible.
(The default behavior is dependent on the ability of the bootstrap program to determine the drive from which it was loaded,
which is not possible on all systems.)
RB_DUMP Dump kernel memory before rebooting; see savecore(8) for more information.
RB_HALT the processor is simply halted; no reboot takes place. This option should be used with caution.
RB_INITNAME An option allowing the specification of an init program (see launchd(8)) other than /sbin/launchd to be run when the system
reboots. This switch is not currently available.
RB_KDB Load the symbol table and enable a built-in debugger in the system. This option will have no useful function if the kernel is
not configured for debugging. Several other options have different meaning if combined with this option, although their use
may not be possible via the reboot() call. See kadb(4) for more information.
RB_NOSYNC Normally, the disks are sync'd (see sync(8)) before the processor is halted or rebooted. This option may be useful if file
system changes have been made manually or if the processor is on fire.
RB_RDONLY Initially mount the root file system read-only. This is currently the default, and this option has been deprecated.
RB_SINGLE Normally, the reboot procedure involves an automatic disk consistency check and then multi-user operations. RB_SINGLE prevents
this, booting the system with a single-user shell on the console. RB_SINGLE is actually interpreted by the launchd(8) program
in the newly booted system.
When no options are given (i.e., RB_AUTOBOOT is used), the system is rebooted from file ``bsd'' in the root file system of unit
0 of a disk chosen in a processor specific way. An automatic consistency check of the disks is normally performed (see
fsck(8)).
RETURN VALUES
If successful, this call never returns. Otherwise, a -1 is returned and an error is returned in the global variable errno.
ERRORS
[EPERM] The caller is not the super-user.
SEE ALSO
shutdown(8), halt(8), launchd(8), reboot(8)
BUGS
The HP300 implementation supports neither RB_DFLTROOT nor RB_KDB.
HISTORY
The reboot() function call appeared in 4.0BSD.
4th Berkeley Distribution June 4, 1993 4th Berkeley Distribution