07-19-2019
I've found the solution,
The following command works on Solaris 10 & 11 and report (in MB) Size, Used, Available and %Used
This User Gave Thanks to GazinLincoln For This Post:
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
thrld=`bdf /u01/|grep u01|awk {'print $5'}|sed 's/'%'//'`
thrld1=`bdf /u12/|grep u02|awk {'print $5'}|sed 's/'%'//'`
ch=""
echo "------------------"
echo " "
echo "------------------"
echo "1)/u01"
echo "2)/u12"
echo " Please select : \c"
read ch
case "$ch" in... (3 Replies)
Discussion started by: killboy
3 Replies
2. Solaris
Hi,
Im currently having my diskspace allocation of my UFS filesystem in solris as 100% for /usr
directory.I have created a zfs pool of 3 gb.I want to allocate space from my zfs pool to /usr so that i can free space in /usr.Please help me it is quiet urgent. (6 Replies)
Discussion started by: navjotmannan
6 Replies
3. Shell Programming and Scripting
I am working on a server where the 'root' user ZFS filesystem.
Now when I do Top commands it says only 750M free .But when I count the actual memory utilized it comes only to 12 GB and the total size of the server is 32G.
I think rest of the space is held up by ZFS file system.
Is there a... (5 Replies)
Discussion started by: prasperl
5 Replies
4. Solaris
Hi,
I am running into a some problems creating a dual boot system of 2 solaris instances using ZFS file system and I was wondering if someone can help me out.
First some back ground. I have been asked to change the file system of our server from UFS to ZFS. Currently we are using Solaris... (3 Replies)
Discussion started by: estammis
3 Replies
5. Solaris
Hello All
I’ve made the decision to switch my storage server from FreeNAS to Solaris. I opted to use FreeNAS as it has ZFS and until BTRFS is stable, it’s the best option (IMHO) for backup and network storage.
The switch was facilitated by the USB stick that FreeNAS was on got lost during a... (1 Reply)
Discussion started by: BlueDalek
1 Replies
6. Solaris
Hi,
I am unable to understand that, in one of my servers while
df -kh
Filesystem Size Used Available Capacity Mounted on
rpool/ROOT/solaris-2 98G 11G 29G 29% /
Even the Root FS filled on 40gb and system becomes unstable.
it is showing... (4 Replies)
Discussion started by: anuragr
4 Replies
7. Solaris
hi,
have no a lot of experience with zfs so perhaps the question is quite simple but i didn't find any reasonable info how to resolve it.
thus, fresh solaris installation
14GB in 86 files copied after that got msg No space left on device (28) in spite of according to stat there is... (4 Replies)
Discussion started by: bindto
4 Replies
8. Solaris
Hi all,
I am moving to Solaris11 and is trying to understand how ZFS snapshot works.
Chances upon this Oracle Blog and can't wrap my head around it.
https://blogs.oracle.com/solaris/understanding-the-space-used-by-zfs-v2
Hope gurus here can shed some light .
=======
... (4 Replies)
Discussion started by: javanoob
4 Replies
LEARN ABOUT DEBIAN
term::size::perl
Perl(3pm) User Contributed Perl Documentation Perl(3pm)
NAME
Term::Size::Perl - Perl extension for retrieving terminal size (Perl version)
SYNOPSIS
use Term::Size::Perl;
($columns, $rows) = Term::Size::Perl::chars *STDOUT{IO};
($x, $y) = Term::Size::Perl::pixels;
DESCRIPTION
Yet another implementation of "Term::Size". Now in pure Perl, with the exception of a C probe run on build time.
FUNCTIONS
chars
($columns, $rows) = chars($h);
$columns = chars($h);
"chars" returns the terminal size in units of characters corresponding to the given filehandle $h. If the argument is omitted,
*STDIN{IO} is used. In scalar context, it returns the terminal width.
pixels
($x, $y) = pixels($h);
$x = pixels($h);
"pixels" returns the terminal size in units of pixels corresponding to the given filehandle $h. If the argument is omitted, *STDIN{IO}
is used. In scalar context, it returns the terminal width.
Many systems with character-only terminals will return "(0, 0)".
SEE ALSO
It all began with Term::Size by Tim Goodwin. You may want to have a look at:
Term::Size
Term::Size::Unix
Term::Size::Win32
Term::Size::ReadKey
It would be helpful if you send me the Params.pm generated by the probe at build time. Please reports bugs via CPAN RT,
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Term-Size-Perl
BUGS
I am having some hard time to make tests run correctly under the "cpan" script. Some Unix systems do not seem to provide a working tty
inside automatic installers. I think it needs some skip tests, but I am yet not sure what should be the portable tests for this.
Update: This distribution uses new tests to skip if filehandle is not a tty. It was noticed that "Test::Harness" and "prove", for instance,
provide a non-tty STDOUT to the test script and automatic installers could provide a non-tty STDIN. So the former tests were basically
wrong. I am improving my understanding of the involved issues and I hope to soon fix the tests for all of Term::Size modules.
AUTHOR
A. R. Ferreira, <ferreira@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2006-2007 by A. R. Ferreira
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-01-22 Perl(3pm)