01-31-2009
What programming language are you planning to develop your monitoring application?
6 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
/proc/net/sockstat has mem value, Is it memory used for network buffers?
Is it KB or MB?
$ cat /proc/net/sockstat
sockets: used 8278
TCP: inuse 1090 orphan 2 tw 18 alloc 1380 mem 851
UDP: inuse 6574
RAW: inuse 1
FRAG: inuse 0 memory 0
or any other command to montior network... (3 Replies)
Discussion started by: honglus
3 Replies
2. UNIX for Advanced & Expert Users
Hello,
How to we typically monitor the % of utilization of network cards on a Unix box,basically the % utilization of the bytes transfered of the network card. This is required on all the flavours of OS - HP, AIX, RHEL, Sun etc.
Please let me know.
Thanks. (1 Reply)
Discussion started by: devtakh
1 Replies
3. Windows & DOS: Issues & Discussions
Hi,
Although I'm not at my nature habitat, I need some assistance in having a basic windows script to monitor TCP connections from a host to other hosts.
script heed to display the following:
1. ping a remote host/hosts every 1 second (or other adjustable timer)
2. Display a fail/success.
3.... (2 Replies)
Discussion started by: assafde
2 Replies
4. Shell Programming and Scripting
Hello Guys,
I am starting with shell scripting and I need some help with my problem... The scenario is, I have like 20 servers inside one company, where I face some network issues affecting my servers functionality (Voice/recorder/IVR systems). So, to evidence the network events, I decided to... (1 Reply)
Discussion started by: raval
1 Replies
5. Shell Programming and Scripting
Hi
I want to write a script for netflow service
because my service doesnt send any packet to netflow walker (server).
Although the service is started but it does not send any packet to server until i restart the service
I want to write a script in order to restart the service... (7 Replies)
Discussion started by: mohsen1366
7 Replies
6. IP Networking
My son does homework on a school laptop. I was thinking about setting up a gateway on my home network, so that I can monitor web traffic and know if he is doing his homework without standing over his shoulder. Ideally I would like to use the Raspberry Pi Model b that I already have. However, I... (15 Replies)
Discussion started by: gandolf989
15 Replies
LEARN ABOUT DEBIAN
moosex::app::cmd
MooseX::App::Cmd(3pm) User Contributed Perl Documentation MooseX::App::Cmd(3pm)
NAME
MooseX::App::Cmd - Mashes up MooseX::Getopt and App::Cmd.
SYNOPSIS
See "SYNOPSIS" in App::Cmd.
package YourApp::Cmd;
use Moose;
extends qw(MooseX::App::Cmd);
package YourApp::Cmd::Command::blort;
use Moose;
extends qw(MooseX::App::Cmd::Command);
has blortex => (
traits => [qw(Getopt)],
isa => "Bool",
is => "rw",
cmd_aliases => "X",
documentation => "use the blortext algorithm",
);
has recheck => (
traits => [qw(Getopt)],
isa => "Bool",
is => "rw",
cmd_aliases => "r",
documentation => "recheck all results",
);
sub execute {
my ( $self, $opt, $args ) = @_;
# you may ignore $opt, it's in the attributes anyway
my $result = $self->blortex ? blortex() : blort();
recheck($result) if $self->recheck;
print $result;
}
DESCRIPTION
This module marries App::Cmd with MooseX::Getopt.
Use it like App::Cmd advises (especially see App::Cmd::Tutorial), swapping App::Cmd::Command for MooseX::App::Cmd::Command.
Then you can write your moose commands as moose classes, with MooseX::Getopt defining the options for you instead of "opt_spec" returning a
Getopt::Long::Descriptive spec.
AUTHOR
Yuval Kogman <nothingmuch@woobling.org>
With contributions from:
Guillermo Roditi <groditi@cpan.org>
COPYRIGHT
Copyright (c) 2007-2008 Infinity Interactive, Yuval Kogman. All rights
reserved This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
perl v5.14.2 2012-02-29 MooseX::App::Cmd(3pm)