Sponsored Content
Top Forums Shell Programming and Scripting Shell commands and ps and server logs Post 303016275 by Corona688 on Monday 23rd of April 2018 04:09:23 PM
Old 04-23-2018
What shows in ps is commandline arguments.

What do you do right now?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Shell script to view logs of a server

Please share a shell script to collect logs of a server (like cpu utilization, memory etc) for a perticular time interval by giving date, time and server name as input. (1 Reply)
Discussion started by: abhishek27
1 Replies

2. Shell Programming and Scripting

Can BASH execute commands on a remote server when the commands are embedded in shell

I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config. I am not sure if I can do this with BASH scripting. I have set up password less login by adding my public key to authorized_keys file, it works. I am a little... (1 Reply)
Discussion started by: bash_in_my_head
1 Replies

3. UNIX for Dummies Questions & Answers

File Server Logs - Samba and Netatalk

I have installed a linux file server and it works great. At my location we have a mix of Mac & Windows systems. Netatalk and Samba are setup on the server. The problem is recently someone has deleted file or files haven't been put on the server properly. Two different departments are pointing... (1 Reply)
Discussion started by: odysseus1977
1 Replies

4. Red Hat

Sending all apache logs to Syslog Server

Hi All, I need to send all apache logs to local syslog and then to syslog server (STRM – Security Threat response manager). I follow these steps:- vi /etc/httpd/conf/httpd.conf Added these lines :- ErrorLog syslog:local1 LogLevel notice Then in syslog.conf:- local1.crit... (3 Replies)
Discussion started by: sidhurana
3 Replies

5. Solaris

Login and logout logs in server

Hi, Can you please let me know how can and where we will find the logs. ie,which user is login and logout from server and by using which ip address they accessed server. please let me know the steps and folder, file names to trace the logs from server . we are using System = SunOS 5.10. Please... (10 Replies)
Discussion started by: kancherla.sree
10 Replies

6. UNIX for Dummies Questions & Answers

logs of commands performed by users

Hi, when 2 users are logged as root , how can i find witch one had perform witch command? Thanks, (1 Reply)
Discussion started by: prpkrk
1 Replies

7. Shell Programming and Scripting

Shell Script for viewing multiple logs from multiple server

I am new to Shell scripting and below is my requirement. I need to search some specific word e.g. "exception" or "transaction" from log file. We have multiple env e.g. Level1 , Level2 etc and each env have Multiple boxes e.g. For Level 1 env we have "test11.test.com" , "test12.test.com". Each... (1 Reply)
Discussion started by: peeyush
1 Replies

8. Red Hat

Comprehensive Disk & Server Logs.

Hello All, I'm using a RHEL6.4 on IBM X3850 X5 server. I want to get a comprehensive report containing disk-wise health status as well as overall server status. I see there's utility "ibm_utl_dsa_dsytd3h-9.51_portable_rhel6_x86-64.bin" which is also used to do diagnostics tasks. I'm not sure of... (1 Reply)
Discussion started by: vaibhavvsk
1 Replies

9. UNIX for Dummies Questions & Answers

How to keep server out of logs?

Hi, there you may read some anonymous services like VPN service dont keep logs of their members activity. So i want to ask how i can make my personal linux servers be without any logs of accessing IPs, hostnames. I know there is "/var/log/lastlog", but are there any other files in default... (2 Replies)
Discussion started by: postcd
2 Replies

10. Open Source

Shell script file movement to a Mail Box server using ftp commands

Hi All, I have a current Process that runs "windows script " for the file movement that needs to changed to a "DataStage Process (Using shell script )" Source :Text file is getting generated as part of Datastage Jobs processes and resides in a shared drive (Unix server) Target :ftp... (2 Replies)
Discussion started by: developer.dwh9
2 Replies
CPANPLUS(3)						User Contributed Perl Documentation					       CPANPLUS(3)

NAME
CPANPLUS - API & CLI access to the CPAN mirrors SYNOPSIS
### standard invocation from the command line $ cpanp $ cpanp -i Some::Module $ perl -MCPANPLUS -eshell $ perl -MCPANPLUS -e'fetch Some::Module' DESCRIPTION
The "CPANPLUS" library is an API to the "CPAN" mirrors and a collection of interactive shells, commandline programs, etc, that use this API. GUIDE TO DOCUMENTATION
GENERAL USAGE This is the document you are currently reading. It describes basic usage and background information. Its main purpose is to assist the user who wants to learn how to invoke CPANPLUS and install modules from the commandline and to point you to more indepth reading if required. API REFERENCE The "CPANPLUS" API is meant to let you programmatically interact with the "CPAN" mirrors. The documentation in CPANPLUS::Backend shows you how to create an object capable of interacting with those mirrors, letting you create & retrieve module objects. CPANPLUS::Module shows you how you can use these module objects to perform actions like installing and testing. The default shell, documented in CPANPLUS::Shell::Default is also scriptable. You can use its API to dispatch calls from your script to the CPANPLUS Shell. COMMANDLINE TOOLS
STARTING AN INTERACTIVE SHELL You can start an interactive shell by running either of the two following commands: $ cpanp $ perl -MCPANPLUS -eshell All commands available are listed in the interactive shells help menu. See "cpanp -h" or CPANPLUS::Shell::Default for instructions on using the default shell. CHOOSE A SHELL By running "cpanp" without arguments, you will start up the shell specified in your config, which defaults to CPANPLUS::Shell::Default. There are more shells available. "CPANPLUS" itself ships with an emulation shell called CPANPLUS::Shell::Classic that looks and feels just like the old "CPAN.pm" shell. You can start this shell by typing: $ perl -MCPANPLUS -e'shell Classic' Even more shells may be available from "CPAN". Note that if you have changed your default shell in your configuration, that shell will be used instead. If for some reason there was an error with your specified shell, you will be given the default shell. BUILDING PACKAGES "cpan2dist" is a commandline tool to convert any distribution from "CPAN" into a package in the format of your choice, like for example ".deb" or "FreeBSD ports". See "cpan2dist -h" for details. FUNCTIONS
For quick access to common commands, you may use this module, "CPANPLUS" rather than the full programmatic API situated in "CPANPLUS::Backend". This module offers the following functions: $bool = install( Module::Name | /A/AU/AUTHOR/Module-Name-1.tgz ) This function requires the full name of the module, which is case sensitive. The module name can also be provided as a fully qualified file name, beginning with a /, relative to the /authors/id directory on a CPAN mirror. It will download, extract and install the module. $where = fetch( Module::Name | /A/AU/AUTHOR/Module-Name-1.tgz ) Like install, fetch needs the full name of a module or the fully qualified file name, and is case sensitive. It will download the specified module to the current directory. $where = get( Module::Name | /A/AU/AUTHOR/Module-Name-1.tgz ) Get is provided as an alias for fetch for compatibility with CPAN.pm. shell() Shell starts the default CPAN shell. You can also start the shell by using the "cpanp" command, which will be installed in your perl bin. FAQ
For frequently asked questions and answers, please consult the "CPANPLUS::FAQ" manual. BUG REPORTS
Please report bugs or other issues to <bug-cpanplus@rt.cpan.org<gt>. AUTHOR
This module by Jos Boumans <kane@cpan.org>. COPYRIGHT
The CPAN++ interface (of which this module is a part of) is copyright (c) 2001 - 2007, Jos Boumans <kane@cpan.org>. All rights reserved. This library is free software; you may redistribute and/or modify it under the same terms as Perl itself. SEE ALSO
CPANPLUS::Shell::Default, CPANPLUS::FAQ, CPANPLUS::Backend, CPANPLUS::Module, cpanp, cpan2dist CONTACT INFORMATION
o Bug reporting: bug-cpanplus@rt.cpan.org o Questions & suggestions: bug-cpanplus@rt.cpan.org perl v5.16.3 2013-05-20 CPANPLUS(3)
All times are GMT -4. The time now is 08:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy