11-14-2006
I am wrong now disregard my last entry!
9 More Discussions You Might Find Interesting
1. AIX
Is it necessary to put system into single user mode for applying aix 5.3 TL8 on a aix 5.3.5.0 system ?
Is the TL8 installation not totally safe ?
thank you. (6 Replies)
Discussion started by: astjen
6 Replies
2. AIX
Hi,
redbook documentation is telling that IY17981 fix is required for aix 4.3.3 to aix 5L migration. But there is no mention about that fix in any ML installation packages.
- My system is ML11 :
oslevel –r
4330-11
- But xlC.rte is on wrong version :
lslpp -L xlC.rte
xlC.rte ... (3 Replies)
Discussion started by: astjen
3 Replies
3. UNIX for Dummies Questions & Answers
Hi my script is as below.
#! /bin/sh
get=`ls -l *.ZIP | egrep -c '^-'`
put=`cat Get_File_Count.txt|grep ''`
if
then
echo $get > Get_File_Count.txt
echo "Hi,\n\nYou've got a new feed!\n\nFilename : `ls -l *.ZIP|sort -k 6|tail -1|cut -c 58-90`" | mail -s "New File Received" user@domain.com... (8 Replies)
Discussion started by: naveen.kuppili
8 Replies
4. Shell Programming and Scripting
Hi,
I want to modifiy the hour in the crontab AIX 5.3 for this line:
Input:
00 22 * * * /outillage/script_exploit/bin/SavOffline.ksh > /dev/null 2>&1
Output:
30 20 * * * /outillage/script_exploit/bin/SavOffline.ksh > /dev/null 2>&1
With the awk or sed function through a ssh -q... (1 Reply)
Discussion started by: khalidou13
1 Replies
5. AIX
Steps to upgrade AIX TL ( technology Level ) / Maintenance Level in AIX ( including Firmware HMC VIOS )
This article or post covers upgrades for
- Hardware Management Console ( HMC )
- Firmware ( also known as microcode )
- VIO ( Virtual I/O Server = PowerVM )
- AIX Version, Technology... (2 Replies)
Discussion started by: filosophizer
2 Replies
6. Shell Programming and Scripting
Hi
I'm trying to set up a crontab on AIX and for some reason it's not running my script at the specified time - here's what I have tried so far:
30 14 * * * <scriptname>
35 14 *** /directory/<scriptname>
40,14 *** /directory/<scriptname> (nb crontab won't accept the comma)
1 and 2... (10 Replies)
Discussion started by: dbchud
10 Replies
7. AIX
Using nimadm:
nimadm -j nimadmvg -c sap024 -s spot_6100 -l lpp_6100 -d "hdisk1" -Y
Initializing the NIM master.
Initializing NIM client sap024.
0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT
spot_6100 (6.1.3.4) does not match the NIM master's level (7.1.1.2).... (2 Replies)
Discussion started by: sciacca75
2 Replies
8. AIX
Hello,
I've set up email alerts on AIX Servers. so that i can get email notifications (via mail relay server) when ever there is abnormal behavior.
for example
1) my script monitors CPU/disk/memory etc... when it reaches high water ark, it will send an email alert.
2) disk usage alerts
3)... (5 Replies)
Discussion started by: System Admin 77
5 Replies
9. AIX
I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users.
The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies
LEARN ABOUT OSX
tcl_wrongnumargs
Tcl_WrongNumArgs(3) Tcl Library Procedures Tcl_WrongNumArgs(3)
__________________________________________________________________________________________________________________________________________________
NAME
Tcl_WrongNumArgs - generate standard error message for wrong number of arguments
SYNOPSIS
#include <tcl.h>
Tcl_WrongNumArgs(interp, objc, objv, message)
ARGUMENTS
Tcl_Interp interp (in) Interpreter in which error will be reported: error message gets stored in its result object.
int objc (in) Number of leading arguments from objv to include in error message.
Tcl_Obj *const objv[] (in) Arguments to command that had the wrong number of arguments.
const char *message (in) Additional error information to print after leading arguments from objv. This typically gives the
acceptable syntax of the command. This argument may be NULL.
_________________________________________________________________
DESCRIPTION
Tcl_WrongNumArgs is a utility procedure that is invoked by command procedures when they discover that they have received the wrong number
of arguments. Tcl_WrongNumArgs generates a standard error message and stores it in the result object of interp. The message includes the
objc initial elements of objv plus message. For example, if objv consists of the values foo and bar, objc is 1, and message is "fileName
count" then interp's result object will be set to the following string:
wrong # args: should be "foo fileName count"
If objc is 2, the result will be set to the following string:
wrong # args: should be "foo bar fileName count"
Objc is usually 1, but may be 2 or more for commands like string and the Tk widget commands, which use the first argument as a subcommand.
Some of the objects in the objv array may be abbreviations for a subcommand. The command Tcl_GetIndexFromObj will convert the abbreviated
string object into an indexObject. If an error occurs in the parsing of the subcommand we would like to use the full subcommand name
rather than the abbreviation. If the Tcl_WrongNumArgs command finds any indexObjects in the objv array it will use the full subcommand
name in the error message instead of the abbreviated name that was originally passed in. Using the above example, let us assume that bar
is actually an abbreviation for barfly and the object is now an indexObject because it was passed to Tcl_GetIndexFromObj. In this case the
error message would be:
wrong # args: should be "foo barfly fileName count"
SEE ALSO
Tcl_GetIndexFromObj
KEYWORDS
command, error message, wrong number of arguments
Tcl 8.0 Tcl_WrongNumArgs(3)