Sponsored Content
Top Forums Shell Programming and Scripting How to use functions as a system commands? Post 302621911 by rbatte1 on Wednesday 11th of April 2012 09:13:56 AM
Old 04-11-2012
You are welcome. As it is 14:10 GMT, please run my function called second


Robin
Liverpool/Blackburn
UK
These 2 Users Gave Thanks to rbatte1 For This Post:
 

10 More Discussions You Might Find Interesting

1. AIX

commands to get system specs

Hi, I want to find some information regarding system specs such as CPU speed, total disk space, total RAM, network topology eg. ethernet, patch number, OS patches, database. Thanks (2 Replies)
Discussion started by: DarReNz
2 Replies

2. Solaris

rsh commands not getting executed from Solaris 10 System to AIX System

Hi Friends, I am trying to execute rsh commands from Solaris 10 system to AIX system. When I give; Solaris10# rsh <hostname> ls -l , it gives me an error rshd : 0826-826 The host name for your address is not known At the same time, Solaris10# rsh <hostname> ---- gives me remote shell of... (25 Replies)
Discussion started by: jumadhiya
25 Replies

3. AIX

Need AIX system commands

Hey Guyz, I am preparing an inventory kindof thing about the aix servers.. I need help to find out the below details for many AIX servers.. Machine model and version Disk Size RAM size no. of CPUs and thier information list of softwares installed I searched in web.. but not much info I... (4 Replies)
Discussion started by: thariqueakbar
4 Replies

4. Shell Programming and Scripting

system functions

Hi guys i wanna to buil small pro as calc to do many things for example clear memory specify a memory register and so on and quit using scripting language like perl or awk which command i use to deal with memory like m0 and how to clear or specify regester... (2 Replies)
Discussion started by: Ame
2 Replies

5. Linux

commands of linux operation system

Am actually am new to the linux operating system and knda wana knw more about it.Please could u help me with some commands so i can start with that first.Really need your help (5 Replies)
Discussion started by: GODBLESSME
5 Replies

6. Programming

Difference between system calls and normal functions in C

hello all, i'm a beginner in linux programming. I need to know what is the difference between system calls and normal functions like fopen, fread etc in C?Also how to set permissions by using open system call? (11 Replies)
Discussion started by: aarathy
11 Replies

7. Shell Programming and Scripting

how to fetch the commands at solaris system

:wall:i'm system administrator. now i have a trouble. i want to fetch the command which the login users performed by shell.but i don't know how to process this problem.if anyone tell me how to do this work I would be very grateful.thank you! (4 Replies)
Discussion started by: anline5104
4 Replies

8. Programming

man pages for commands and functions of same name?

Hi friends, I hope everyone is fine and doing well. I am facing this irritating problem. As you know that manual pages are available for both unix commands and c functions. Now when I try to check the manual pages for functions like read write exit I get the manual pages for the... (3 Replies)
Discussion started by: gabam
3 Replies

9. Shell Programming and Scripting

How to execute functions or initiate functions as command line parameters for below requirement?

I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line if then... (8 Replies)
Discussion started by: saku
8 Replies

10. UNIX for Dummies Questions & Answers

File System & commands

Hello! Is File System stored in unix kernel or in pc memory? Are unix commands stored in kernel? many thanks! (1 Reply)
Discussion started by: pinklemon
1 Replies
AnyEvent::XMPP::TestClient(3pm) 			User Contributed Perl Documentation			   AnyEvent::XMPP::TestClient(3pm)

NAME
AnyEvent::XMPP::TestClient - XMPP Test Client for tests SYNOPSIS
DESCRIPTION
This module is a helper module to ease the task of testing. If you want to run the developer test suite you have to set the environment variable "NET_XMPP2_TEST" to something like this: NET_XMPP2_TEST="test_me@your_xmpp_server.tld:secret_password" Most tests will try to connect two accounts, so please take a server that allows two connections from the same IP. If you also want to run the MUC tests (see AnyEvent::XMPP::Ext::MUC) you also need to setup the environment variable "NET_XMPP2_TEST_MUC" to contain the domain of a MUC service: NET_XMPP2_TEST_MUC="conference.your_xmpp_server.tld" If you see some tests fail and want to know more about the protocol flow you can enable the protocol debugging output by setting "NET_XMPP2_TEST_DEBUG" to '1': NET_XMPP2_TEST_DEBUG=1 (NOTE: You will only see the output of this by running a single test) If one of the tests takes longer than the preconfigured 20 seconds default timeout in your setup you can set "NET_XMPP2_TEST_TIMEOUT": NET_XMPP2_TEST_TIMEOUT=60 # for a 1 minute timeout CLEANING UP
If the tests went wrong somewhere or you interrupted the tests you might want to delete the accounts from the server manually, then run: perl t/z_*_unregister.t MANUAL TESTING
If you just want to run a single test yourself, just execute the register test before doing so: perl t/z_00_register.t And then you could eg. run: perl t/z_03_iq_auth.t METHODS
new (%args) Following arguments can be passed in %args: AUTHOR
Robin Redeker, "<elmex at ta-sa.org>", JID: "<elmex at jabber.org>" COPYRIGHT &; LICENSE Copyright 2007, 2008 Robin Redeker, 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-01-23 AnyEvent::XMPP::TestClient(3pm)
All times are GMT -4. The time now is 04:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy