Sponsored Content
Top Forums Shell Programming and Scripting Top utilization of the users through script Post 302918125 by gull04 on Monday 22nd of September 2014 03:16:36 AM
Old 09-22-2014
Hi,

You'll have to be a bit clearer about your requirements here, I'm not sure what you mean by "under one path".

Dave
 

10 More Discussions You Might Find Interesting

1. AIX

How to find the top 6 users (which consume most space)?

Hi everybody, I want to know if there is any posibility to find out - on an AIX system - which are the the users who consume most space or at least a posibility to obtain a list with all the users and how much space are they consuming ? Trying to use du command was useless. Any idea?... (5 Replies)
Discussion started by: RebelDac
5 Replies

2. Solaris

syslogd 30% utilization in top, solaris 9

Hi folks, Sorry to barge in and ask a question right off the bat without contributing first. I have a V440, 4 X 1GHZ, 32GB ram, and recently syslogd has started showing 30+ % cpu usage. It's also repeating entries in the syslog, over and over. the /var/log/syslog file had grown to over 2GB - I... (2 Replies)
Discussion started by: chugheshc
2 Replies

3. Shell Programming and Scripting

Script to check top 5 biggest disk space users

Hi all, I am needing a bash shell script to generate a list of the top 5 users using the most disk space. I am thinking that the du command would be used somehow but I am at a loss. Can anyone help? Thanks! (3 Replies)
Discussion started by: sytemx
3 Replies

4. UNIX for Dummies Questions & Answers

how to get persistant cpu utilization values per process per cpu in linux (! top,ps)

hi, i want to know cpu utilizatiion per process per cpu..for single processor also if multicore in linux ..to use these values in shell script to kill processes exceeding cpu utilization.ps (pcpu) command does not give exact values..top does not give persistant values..psstat,vmstat..does njot... (3 Replies)
Discussion started by: pankajd
3 Replies

5. Shell Programming and Scripting

Command to find the Memory and CPU utilization using 'top' command

Hi all, I found like top command could be used to find the Memory and CPU utilization. But i want to know how to find the Memory and CPU utilization for a particular user using top command. Thanks in advance. Thanks, Ananthi.U (2 Replies)
Discussion started by: ananthi_ku
2 Replies

6. Shell Programming and Scripting

top 10 users facebook.com

is it possible from shell utility that we can track top 10 ipaddress from squid access.log who visit facebook.com. cat /var1/log/squid/access.log | grep "192.168.1.13" | grep "facebook" | wc -l 777 above will find only one (2 Replies)
Discussion started by: learnbash
2 Replies

7. UNIX for Dummies Questions & Answers

how to find top 3 users currently logged on

For the first 3 users only that are currently logged in output their effective user id. thank you. (6 Replies)
Discussion started by: whyatepies
6 Replies

8. Red Hat

Showing all users in 'users' and 'top' commands

Hi All, I work in a multi user environment where my school uses Red Hat Linux server. When I issue commands such as "top" or "users", I get to see what others are doing and what kinds of applications they are running (even ps -aux will give such information). "users" will let me know who else is... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies

9. Shell Programming and Scripting

TOP IO DISK Utilization scripting

Hi Fiends, I am new to scripting., I want to calculate the 2nd column in the below output and print the average for each hdisk. Below is the output of sar command, hdisk0 0 hdisk0 2 hdisk0 0 hdisk1 2 hdisk1 2 hdisk1 2 hdisk2 1 hdisk2 0 hdisk2 0 Thanks, Srinivasan (3 Replies)
Discussion started by: Srini.rk1983
3 Replies

10. UNIX for Beginners Questions & Answers

Top 10 Users in mount level

Hi Members, I'm new to unix. Could you help me in solving my issue. My requirement is I need to pull Top 15 users in every mount. I could able to get the mount level information but I couldn't able to pull the top users in every mount. I see in every mount I could see a lot of nested... (3 Replies)
Discussion started by: UBEE
3 Replies
MicroMason::TemplateDir(3pm)				User Contributed Perl Documentation			      MicroMason::TemplateDir(3pm)

NAME
Text::MicroMason::TemplateDir - Use Base Directory and Relative Paths SYNOPSIS
Instead of using this class directly, pass its name to be mixed in: use Text::MicroMason; my $mason = Text::MicroMason->new( -TemplateDir, template_root=>'/foo' ); Use the standard compile and execute methods to parse and evalute templates: print $mason->compile( file=>$filepath )->( 'name'=>'Dave' ); print $mason->execute( file=>$filepath, 'name'=>'Dave' ); Templates stored in files are looked up relative to the template root: print $mason->execute( file=>"includes/greeting.msn", 'name'=>'Charles'); When including other files into a template you can use relative paths: <& ../includes/greeting.msn, name => 'Alice' &> DESCRIPTION
This module changes the resolution of files passed to compile() and execute() to be relative to a base directory path or to the currently executing template. Supported Attributes template_root Base directory from which to find templates. strict_root Optional directory beyond which not to read files. If set to 1, uses template_root, Causes read_file to croak if any filename outside of the root is provided. (Note that this is not a chroot jail and only affects attempts to load a file as a template; for greater security see the chroot() builtin and Text::MicroMason::Safe.) Private Methods prepare Intercepts uses of file templates and applies the base-path adjustment. read_file Intercepts file access to check for strict_root. EXCEPTIONS The following additional exceptions are generated by Text::MicroMason::TemplateDir when appropriate: o Text::MicroMason::TemplateDir: Strict root '%s' doesn't seem to exist The strict_root directory (or template_root if strict_root is '1') doesn't seem to exist. Strict root checking uses Cwd's abs_path(), and requires the strict_root directory to exist at the time the check is performed. o Text::MicroMason::TemplatePath: Template '%s' not in required base path '%s' The template found in the configured template path was not within the configured strict_root directory. This may be caused by requesting an absolute template filename not within strict_root, or by specifying a strict_root which does not match the configured template path. SEE ALSO
For an overview of this templating framework, see Text::MicroMason. This is a mixin class intended for use with Text::MicroMason::Base. For distribution, installation, support, copyright and license information, see Text::MicroMason::Docs::ReadMe. perl v5.10.1 2009-11-11 MicroMason::TemplateDir(3pm)
All times are GMT -4. The time now is 09:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy