05-09-2012
This is what I'm getting on both commands.
0091173:/ #
0091173:/ # grep var /etc/fstab
0091173:/ #
0091173:/ # mount | grep var
0091173:/ #
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Thank you 98_1LE....
Please help required urgently...
We are getting error message in SUN... Please give solution
ERROR MESSAGE:
NOTICE: alloc: /var: file system full
Output of command "df -k" in our system is...
Filesystem kbytes used avail capacity Mounted on... (1 Reply)
Discussion started by: wipro fluid power
1 Replies
2. Solaris
Hi All,
I have some threaded applications. Design of the application is such that one thread will decode some data and put it in data structure, And main thread will wait for another child threads pick up the decoded data. The data will be large decoded files.
Once decoded data is picked by... (1 Reply)
Discussion started by: patilmuragesh
1 Replies
3. Emergency UNIX and Linux Support
Hello All, On my SuSE system, I have wtmp log this log file permission is 644 but every reboot the file permission rollback to 664. In the logrotate.conf and logrotate.d/wtmp files the wtmp logrotate set to 644. I would like to know, which "file" or "script" modify the wtmp log to rollback to... (7 Replies)
Discussion started by: kalaso
7 Replies
4. HP-UX
Hi Everyone,
My var directory is showing near to 100% ? What are the files should i delete to make it less??
Kindly suggest
# bdf -i
Filesystem kbytes used avail %used iused ifree %iuse Mounted on
/dev/vg00/lvol3 1048576 107616 933616 10% 3342 29394 10% /... (10 Replies)
Discussion started by: yadvinder
10 Replies
5. Ubuntu
Hi,
There is no "administrator" file in "/var/mail" directory........
can any one tell me what could be the reason for that?...and also how to resolve that???
Thanks,
~Kavi (4 Replies)
Discussion started by: kavi.mogu
4 Replies
6. UNIX for Dummies Questions & Answers
hi
i need somme help to protect directory in debian with user and pass
var/www
thank's (6 Replies)
Discussion started by: azzeddine2005
6 Replies
7. HP-UX
Hi All,
I'm having problem with /var directory which is keep increasing. Here's the output of bdf and du command
# uname -a
HP-UX rppmis1 B.11.11 U 9000/800 1153414645 unlimited-user license
# bdf /var
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol8 ... (8 Replies)
Discussion started by: stu33
8 Replies
8. SuSE
Hi
New to Suse - mainly used Solaris.
In solaris dmesg will also show you contents of messages log file but in Suse Liux it doesnt appear to.
I dont have root access to this Suse server, and wondering is there any other tool / utility that allows me to see the messages file contents like on... (1 Reply)
Discussion started by: frustrated1
1 Replies
FLOATVAL(3) 1 FLOATVAL(3)
floatval - Get float value of a variable
SYNOPSIS
float floatval (mixed $var)
DESCRIPTION
Gets the float value of $var.
PARAMETERS
o $var
- May be any scalar type. floatval(3) should not be used on objects, as doing so will emit an E_NOTICE level error and return 1.
RETURN VALUES
The float value of the given variable. Empty arrays return 0, non-empty arrays return 1.
Strings will most likely return 0 although this depends on the leftmost characters of the string. The common rules of float casting apply.
EXAMPLES
Example #1
floatval(3) Example
<?php
$var = '122.34343The';
$float_value_of_var = floatval($var);
echo $float_value_of_var; // 122.34343
?>
Example #2
floatval(3) non-numeric leftmost characters Example
<?php
$var = 'The122.34343';
$float_value_of_var = floatval($var);
echo $float_value_of_var; // 0
?>
SEE ALSO
boolval(3), intval(3), strval(3), settype(3), Type juggling.
PHP Documentation Group FLOATVAL(3)