01-07-2009
you can query with
vxassist -g vol_group maxsize
Maximum volume size: 285112320 (149000Mb)
it means there's available 149G
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I just installed red hat 7.2 on my laptop. it's dual booted with xp and red hat. when i boot in to linux it boots up to the screen to ask me my name and pass....i put in root and my password. after this it goes to a blue screen and sits there. the after about 2 minutes it comes up with a fatal... (1 Reply)
Discussion started by: muzscman
1 Replies
2. Linux
I have a Red Hat upgrade disk. I installed it and it corrupted my entire hard drive! I had gotten the disks out of a Dummy's book at my local library. Trying to install 'Red Hat', has cost me $100.00 in damages. (The cool part is my friend gave me that $100.00 part) Ah...A 120gig Hard Drive. Just... (3 Replies)
Discussion started by: hdk_mkr
3 Replies
3. UNIX for Dummies Questions & Answers
please help me how to install softwares in linux.i have a ethernet internet connection.i try to open the site on LAN to download internet client.but i cannot as our lan supports only internet explorer....i downloaded the linux client by booting thru XP......but i cannot c my NTFS partition thru... (0 Replies)
Discussion started by: shobhit143
0 Replies
4. Linux
Hi All,
I configured during the installation my red hat 5 ent with dhcp enable. Now I modified to static on ../ifcfg-eth0. It won't change when network is restarted with ../network restart command. I need to do ifdown eth0 and ifup eth0. And when rebooted, it will go back to dhcp.
Here's... (1 Reply)
Discussion started by: itik
1 Replies
5. Linux
Hi All,
Does installing sysstat on Red Hat Ent 4 will make the system unreliable or it's ok? Is it going to make the OS slow, I mean even if the utilities are not being used?
Any advise will be highly appreciated, thanks. (1 Reply)
Discussion started by: itik
1 Replies
6. Linux
hi
i need to put the full path of every executable i need to put on my script. on the testing you don't need it but if it's running from cron you need to put the full path of the executable or another script.
what's the work around for this?
Thanks. (1 Reply)
Discussion started by: itik
1 Replies
7. Linux
Is it true that you can't have the crash dump server/client on the same server?
I know I've installed Nagios open source before, I though it's only for that kind of thing. I never though that Red hat ent 4 would be like client/server on the crash dump.
if someone is having problem with high... (0 Replies)
Discussion started by: itik
0 Replies
8. Red Hat
I'm am working with a Red Hat Enterprise 3 server.
This is a dedicated server that is supposedly dedicated to one domain, but I have been tasked with trying to figure out if there are files on this system that are being accessed by other IP's.
Does anyone know if how I would go about finding... (0 Replies)
Discussion started by: chrisPlusPlus
0 Replies
9. UNIX for Dummies Questions & Answers
how to know if i use "Red Hat Enterprise Linux" or "Red Hat Desktop" ? (2 Replies)
Discussion started by: ahmedamer12
2 Replies
LEARN ABOUT DEBIAN
coro::channel
Channel(3pm) User Contributed Perl Documentation Channel(3pm)
NAME
Coro::Channel - message queues
SYNOPSIS
use Coro;
$q1 = new Coro::Channel <maxsize>;
$q1->put ("xxx");
print $q1->get;
die unless $q1->size;
DESCRIPTION
A Coro::Channel is the equivalent of a unix pipe (and similar to amiga message ports): you can put things into it on one end and read
things out of it from the other end. If the capacity of the Channel is maxed out writers will block. Both ends of a Channel can be
read/written from by as many coroutines as you want concurrently.
You don't have to load "Coro::Channel" manually, it will be loaded automatically when you "use Coro" and call the "new" constructor.
$q = new Coro:Channel $maxsize
Create a new channel with the given maximum size (practically unlimited if "maxsize" is omitted). Giving a size of one gives you a
traditional channel, i.e. a queue that can store only a single element (which means there will be no buffering, and "put" will wait
until there is a corresponding "get" call). To buffer one element you have to specify 2, and so on.
$q->put ($scalar)
Put the given scalar into the queue.
$q->get
Return the next element from the queue, waiting if necessary.
$q->shutdown
Shuts down the Channel by pushing a virtual end marker onto it: This changes the behaviour of the Channel when it becomes or is empty
to return "undef", almost as if infinitely many "undef" elements have been put into the queue.
Specifically, this function wakes up any pending "get" calls and lets them return "undef", the same on future "get" calls. "size" will
return the real number of stored elements, though.
Another way to describe the behaviour is that "get" calls will not block when the queue becomes empty but immediately return "undef".
This means that calls to "put" will work normally and the data will be returned on subsequent "get" calls.
This method is useful to signal the end of data to any consumers, quite similar to an end of stream on e.g. a tcp socket: You have one
or more producers that "put" data into the Channel and one or more consumers who "get" them. When all producers have finished producing
data, a call to "shutdown" signals this fact to any consumers.
$q->size
Return the number of elements waiting to be consumed. Please note that:
if ($q->size) {
my $data = $q->get;
...
}
is not a race condition but instead works just fine. Note that the number of elements that wait can be larger than $maxsize, as it
includes any coroutines waiting to put data into the channel (but not any shutdown condition).
This means that the number returned is precisely the number of calls to "get" that will succeed instantly and return some data. Calling
"shutdown" has no effect on this number.
AUTHOR
Marc Lehmann <schmorp@schmorp.de>
http://home.schmorp.de/
perl v5.14.2 2012-04-13 Channel(3pm)