Hi, i would like to determine how many shell scripts are in a directory. Someone recommended me the file command, but i don't know how to use it in that way.
anybody???
Thanks!!! (8 Replies)
Hi,
C an someone help me out in getting the command to get system statistics like CPU, DISK and I/O utilization in a single command instead of mpstat,vmstat and iostat.
When i give sar, getting the following error,
bash-3.00# sar
sar: can't open /var/adm/sa/sa15
No such... (6 Replies)
how can I find cpu usage memory usage swap usage and
I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times
my final destination is monitor process
logical volume usage above X % and number of Logical voluage above
can I not to... (3 Replies)
Hi all,
Can you please tell me the command, with which one can know the amount of space a specific directory has used.
df -k . ---> Displays, the amount of space allocated, and used for a directory.
du -k <dir name> - gives me the memory used of all the files inside <dir>
But i... (2 Replies)
Hi Friends,
I could see following oracle process in the glance command. i see nothing running in the database although. I tried google it but no success. Another team ,which needs all the processes on the server is complaining. Can someone help me what exactly are these sessions/ how to ... (1 Reply)
I am trying to output a log file from cp usage. I think this can be achieved. In my code I have this.
cp -i -v ~/files/* ~/backups/oldfiles/;; > ~/logs/logfile.logThe error I get is "syntax error near unexpected token '>'
What am I missing? (7 Replies)
Hi,
I have a glance adviser, the highlights below. The problem that i have is that every time glance finds process name "abc" it write the memory region data in a new line. My question is if i have a way to print without newline?
The output line for process abc looks something like this:... (0 Replies)
As part of our project dev , we need to create a shell script that
COPY FILES FROM A SEPCIFIC DIRETORY OF THE LOCAL SYSTEM INTO A SPECIFIC LOCATION OF A REMOTE SERVER.
USER1@SERVER1/Dir1/*.* ------- >USER2@SERVER2/Dir2
The main issues with this is requirement are :
1. THERE'S ONLY... (4 Replies)
Hi,
Could you please let me know, why we should not use '.' in move command, if we use it, is it something wrong.. Please share the details on it.
/home/rahualux/emp.csv /home/rahualux/details/employee_files/.
Or other example for mutlipile files
/home/rahualux/*.csv... (3 Replies)
Discussion started by: rahualux
3 Replies
LEARN ABOUT DEBIAN
mouse::util
Mouse::Util(3pm) User Contributed Perl Documentation Mouse::Util(3pm)NAME
Mouse::Util - Utilities for working with Mouse classes
VERSION
This document describes Mouse version 0.99
SYNOPSIS
use Mouse::Util; # turns on strict and warnings
DESCRIPTION
This module provides a set of utility functions. Many of these functions are intended for use in Mouse itself or MouseX modules, but some
of them may be useful for use in your own code.
IMPLEMENTATIONS FOR
Moose::Util functions
The following functions are exportable.
"find_meta($class_or_obj)"
The same as "Mouse::Util::class_of()".
"does_role($class_or_obj, $role_or_obj)"
"resolve_metaclass_alias($category, $name, %options)"
"apply_all_roles($applicant, @roles)"
"english_listi(@items)"
Class::MOP functions
The following functions are not exportable.
"Mouse::Util::is_class_loaded($classname) -> Bool"
Returns whether $classname is actually loaded or not. It uses a heuristic which involves checking for the existence of $VERSION, @ISA, and
any locally-defined method.
"Mouse::Util::load_class($classname) -> ClassName"
This will load a given $classname (or die if it is not loadable). This function can be used in place of tricks like "eval "use $module
()"" or using "require".
"Mouse::Util::class_of($classname_or_object) -> MetaClass"
"Mouse::Util::get_metaclass_by_name($classname) -> MetaClass"
"Mouse::Util::get_all_metaclass_instances() -> (MetaClasses)"
"Mouse::Util::get_all_metaclass_names() -> (ClassNames)"
mro (or MRO::Compat)
"get_linear_isa"
Sub::Identify
"get_code_info"
Mouse specific utilities
"not_supported"
"get_code_package"
"get_code_ref"
SEE ALSO
Moose::Util
Class::MOP
Sub::Identify
mro
MRO::Compat
perl v5.14.2 2012-06-30 Mouse::Util(3pm)