01-03-2008
/var 100% full
What to do if /var filesystem in Aix is completely full ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need to add users to the group file for accounts, however - due to too many characters/users already in a group the file errors out when I run /var/yp->make on it.
Any ideas/solutions?
Is it possible to create a new group, then reference its alias in the existing full group? Will this show... (1 Reply)
Discussion started by: wlayne
1 Replies
2. HP-UX
Can anyone tell me how would I troubleshoot when /var becomes full with inodes? This is on HP11.11 system. Where used is 92%, ifree is 1891 iuse is 88%. Thanks. (3 Replies)
Discussion started by: catwomen
3 Replies
3. Shell Programming and Scripting
Hi All,
I've searched through the forum for a solution to this problem, but I haven't found anything. I have 2 script files that are in different directories.
My first script, let's call it "/one/two/a.sh" looks like this:
#!/bin/sh
IN_DIR=`dirname $0`
CUR_DIR=`pwd`
cd $IN_DIR... (4 Replies)
Discussion started by: mrbluegreen
4 Replies
4. AIX
Hi,
Is there a way to clear the temp files from /var/tmp?
Is root access required to delete the files?
Thanks,
Narayan (2 Replies)
Discussion started by: narayanv
2 Replies
5. AIX
hi, im new in aix administration.. months ago, I received mails, everytime a cron was executed. but now, I don't receive these mails.. and the /var/spool/squeue, gets full frequently. i'd like to know more information about this, what can i do?? sendmail is up, because, I executed ps -ef |grep... (5 Replies)
Discussion started by: fdeivis
5 Replies
6. Solaris
Hi,
Is the contents in /var/log/syslog and /var/adm/messages are same??
Regards (3 Replies)
Discussion started by: vks47
3 Replies
7. HP-UX
My /var partition is almost utilized ... Here am not sure where to release space now
OS/model : HP-UX B.11.11 U 9000/800
# bdf /var
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol9 6144000 6142176 1824 100% /var
<root@pb>/var # du -sk * | sort -n |... (20 Replies)
Discussion started by: Shirishlnx
20 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have Solaris-10 (having multiple non global zones running on it). Its /var is getting full to 100% and I can see, there are files getting added to /var/audit. There are large in number, so even if I clearing them, it is filling /var. In past 24 hours, there are 53000 files are added. I am... (1 Reply)
Discussion started by: solaris_1977
1 Replies
9. Shell Programming and Scripting
i try to find way to make string concatenation in csh ( sorry this is what i have )
so i found out i can't do :
set string_buff = ""
foreach line("`cat $source_dir/$f`")
$string_buff = string_buff $line
end
how can i do string concatenation? (1 Reply)
Discussion started by: umen
1 Replies
10. AIX
AIX Version 6.1 and 7.1.
I understand that when the OS initially creates the FS and inodes, its pretty strict, but not always tuned to a 1:1 ratio. I see the same thing when adding a whole disk LV to a separate device.
It seems that when we expand a filesystem the inodes don't get tuned... (5 Replies)
Discussion started by: mrmurdock
5 Replies
LEARN ABOUT PHP
is_scalar
IS_SCALAR(3) 1 IS_SCALAR(3)
is_scalar - Finds whether a variable is a scalar
SYNOPSIS
bool is_scalar (mixed $var)
DESCRIPTION
Finds whether the given variable is a scalar.
Scalar variables are those containing an integer, float, string or boolean. Types array, object and resource are not scalar.
Note
is_scalar(3) does not consider resource type values to be scalar as resources are abstract datatypes which are currently based on
integers. This implementation detail should not be relied upon, as it may change.
Note
is_scalar(3) does not consider NULL to be scalar.
PARAMETERS
o $var
- The variable being evaluated.
RETURN VALUES
Returns TRUE if $var is a scalar, FALSE otherwise.
EXAMPLES
Example #1
is_scalar(3) example
<?php
function show_var($var)
{
if (is_scalar($var)) {
echo $var;
} else {
var_dump($var);
}
}
$pi = 3.1416;
$proteins = array("hemoglobin", "cytochrome c oxidase", "ferredoxin");
show_var($pi);
show_var($proteins)
?>
The above example will output:
3.1416
array(3) {
[0]=>
string(10) "hemoglobin"
[1]=>
string(20) "cytochrome c oxidase"
[2]=>
string(10) "ferredoxin"
}
SEE ALSO
is_float(3), is_int(3), is_numeric(3), is_real(3), is_string(3), is_bool(3), is_object(3), is_array(3).
PHP Documentation Group IS_SCALAR(3)