9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
2. Shell Programming and Scripting
Could you please let me know the following? I have to find and check first day of each month. I do
fdt=`date +%d`
will it give me on AIX
"1" or "01"
I ask you because I couldn't make real test on first day and don't know
Thanks for contribution (4 Replies)
Discussion started by: digioleg54
4 Replies
3. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
4. AIX
I have searched many times but nothing found. Somebody help please :(:(:( (1 Reply)
Discussion started by: bobochacha29
1 Replies
5. UNIX for Advanced & Expert Users
Hi, everyone.
I need to write a program to get io info based on libperfstat.
But the "write time" of a disk is just half of the value get from iostat.
I'm confused and can't explain. Help please.
How I calculate "write service time per sec":
In iostat:
write service... (0 Replies)
Discussion started by: jackliang
0 Replies
6. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
7. AIX
Can someone explain the differences I'm seeing below in TOP and VMSTAT commands on my AIX 5.3 server?
Thanks!
CPUs: 4; load averages: 0.86, 0.97, 0.97 18:09:26
926 processes: 4 stopped, 922 running
CPU states: 78.4% idle, 8.5% user, 12.6% kernel, 0.3% wait
Memory: 23680M Total.... (1 Reply)
Discussion started by: troym72
1 Replies
8. AIX
Anyone know what is the function of user "pconsole" and "esaadmin" on AIX version 6? (1 Reply)
Discussion started by: ebab3
1 Replies
9. UNIX for Dummies Questions & Answers
Hi Friends,
Can any of you explain me about the below line of code?
mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`
Im not able to understand, what exactly it is doing :confused:
Any help would be useful for me.
Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies
Munin::Node::Configure::Plugin(3pm) User Contributed Perl Documentation Munin::Node::Configure::Plugin(3pm)
NAME
Munin::Node::Configure::Plugin - Class representing a plugin, along with its installed and suggested services.
SYNOPSIS
my $plugin = Munin::Node::Configure::Plugin->new();
METHODS
new(%args)
Constructor.
Required arguments are 'name' and 'path', which should be the basename and full path of the plugin, respectively.
is_wildcard()
Returns true if the plugin is a wildcard. In the case of SNMP plugins, only double-wild plugins will return true (ie. 'snmp__memory'
would return false, but 'snmp__if_' would return true).
is_snmp()
Returns true if the plugin is an SNMP plugin.
in_family(@families)
Returns true if plugin's family is in @families, false otherwise.
is_installed()
Returns 'yes' if one or more links to this plugin exist in the service directory, 'no' otherwise.
suggestion_string()
Returns a string detailing whether or not autoconf considers that the plugin should be installed. The string may also report the
reason why the plugin declined to be installed, or the list of suggestions it provided, if this information is available.
installed_services_string()
Returns a string detailing which wildcards are installed for this plugin.
services_to_add()
services_to_remove()
Return a list of service names that should be added or removed for this plugin.
add_instance($name)
Associates a link from the service directory with this plugin.
add_suggestions(@suggestions)
Adds @suggestions to the list of suggested wildcards for this plugin. They are not validated.
read_magic_markers()
Sets the family and capabilities from the magic markers embedded in the plugin's executable, as specified by
http://munin-monitoring.org/wiki/ConcisePlugins#Magicmarkers <http://munin-monitoring.org/wiki/ConcisePlugins#Magicmarkers>
parse_autoconf_response(@response)
Parses and validates the autoconf response from the plugin, in the format specified by
http://munin-monitoring.org/wiki/ConcisePlugins#autoconf <http://munin-monitoring.org/wiki/ConcisePlugins#autoconf>
Invalid input will cause an error to be logged against the plugin.
parse_suggest_response(@response)
Validates the suggestions from the plugin.
Invalid suggestions will cause an error to be logged against the plugin.
parse_snmpconf_response(@response)
Parses and validates the snmpconf response from the plugin, in the format specified by
http://munin-monitoring.org/wiki/ConcisePlugins#suggest <http://munin-monitoring.org/wiki/ConcisePlugins#suggest>
Invalid or inconsistent input will cause an error to be logged against the plugin.
log_error($message)
Logs an error for later retrieval. The error will also be displayed if debugging output is enabled.
perl v5.14.2 2013-11-12 Munin::Node::Configure::Plugin(3pm)