07-29-2008
unable to run a script
thi is
Last edited by angelina; 08-11-2008 at 06:05 PM..
10 More Discussions You Might Find Interesting
1. Solaris
Hello.
I am trying to run xclock on newly built solaris box - These are the steps I followed:
# DISPLAY=localhost:0.0
# export DISPLAY
# xclock
xclock: not found
# cd /usr/openwin/bin
# ./xclock
Error: Can't open display: localhost:0.0
#
Please suggest, what am i doing wrong?
Thank... (27 Replies)
Discussion started by: panchpan
27 Replies
2. Shell Programming and Scripting
I did a search for this problem but couldn't find any specific answers to my problem.
We have a .NET application compiled in SharpDevelop for Mono which we want to execute with a .sh shell script on Ubuntu. When we execute the script nothing happens meaning the application's visual interface... (0 Replies)
Discussion started by: JacquesB
0 Replies
3. Shell Programming and Scripting
I am trying to create a menu, and the script fails on ln 38 (Files in pwd). Any idea on where the problem is??
Thanks for the help
Rob
#!/bin/bash
# Cool Script for Weekly Assignment 2 (#3) that creates a menu to act as a ui
# and run some popular commands.
clear
while :
do ... (9 Replies)
Discussion started by: rchirico
9 Replies
4. AIX
Hi All,
I m not able to run at job with normal user on AIX system
os version is 5300-05-06.
I am able to run at job only with root user.
When I try to run at job with any other user I am getting error:
at: you are not authorized to use at. Sorry.
I checked at.deny file, it is... (4 Replies)
Discussion started by: pkatkade
4 Replies
5. SuSE
Hi
I have a script myscript.sh that needs to be run whenever the server boots. The script is actually logging Syslog-ng messages to sql server. I need to lauch it at startup
I have copied the script in etc/init.d
i have also added the link
ln -s /etc/init.d/syslog-ng-mssql-pipe.sh... (5 Replies)
Discussion started by: SystemEng
5 Replies
6. HP-UX
Hi All,
I want to get %cpu and %memory utilization for a given process id in HP-UX so am using the following commands
1)TOP -p <PID> am getting error message like Quitting top: pset 26323 doesn't exist,but when am using only TOP command without any options its working fine.
2)ps -e -o pcpu... (5 Replies)
Discussion started by: Ramya_Nm
5 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I've wrote a script to truncate newline characters in a text file. Could you please help me in figuring out the issue
:confused:
for file in $Filelist; do
echo $file;
FileName=`basename $file`;
sed 's/^M//g' $file> "${file}"2;
mv "${file}"2 "${file}";
sed '1d' "${file}"... (5 Replies)
Discussion started by: udayakumar
5 Replies
8. Shell Programming and Scripting
echo $result=exec("./permit.sh".$_FILES);
pls suggest some other method to run shell script in php .:wall::mad: (0 Replies)
Discussion started by: upvan111
0 Replies
9. Shell Programming and Scripting
Hi,
I have a separate file with a ksh function in it. When I try to run it, I get an error about permissions:
user@~/scripts/functions$ ksh f_fill_testfunc
ksh: f_fill_testfunc: cannot open
user@~/scripts/functions$ ls -l batch_functions/f_fill_testfunc
-rwxr-xr-x 1 user user 1105 Aug... (18 Replies)
Discussion started by: Subbeh
18 Replies
10. UNIX for Advanced & Expert Users
Not able to execute the file in remote host using except utility
I am automating the SFTP keys setp process:
So i created the expect script for controlling the output of shell
below is my main code:
Code:
#!/usr/bin/expect
set fd
set password
close $fd
set df
set app
close $df... (1 Reply)
Discussion started by: Manoj Bajpai
1 Replies
LEARN ABOUT DEBIAN
insmbkrds
INSMBKRDS(3) RDS PHYSICAL FUNCTIONS INSMBKRDS(3)
NAME
insmbkrds - converts MBK figure to RDS figure
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "rfmnnn.h"
rdsins_list *insmbkrds( FigureRds, InstanceMbk, Mode, Lynx )
rdsfig_list *FigureRds;
phins_list *InstanceMbk;
char Mode;
char Lynx;
PARAMETER
FigureRds The Rds figure which has to receive the RDS instance issue to the MBK instance conversion.
InstanceMbk MBK instance which has to be converted and added to the RDS figure.
Mode This field can take three values :
'A' : All the cell is loaded in ram.
'P' : Only information concerning the model interface is present, that means connector s and the abutment box.
'C' : Finishes to fill an already loaded figure in 'P' mode, in order to have it all in memory. After this, the conver-
sion is applied.
Note : The loading mode here is the MBK mode.
Lynx Flag used for the segment conversion. If the parameter Lynx is set to 0 then thi s is the normal conversion mode. If
the parameter Lynx is set to 1 then the rds structure generated permits to extract equipotentials rectangles.
DESCRIPTION
The insmbkrds function creates in the RDS figure the RDS instance issue to the convertion of the MBK instance to RDS format. If the parame-
ter 'Mode' is set to 'A' then all the instance is loaded, else if parameter 'Mode' is set to 'P' then connectors and abutment box and
through routes are loaded (for more information, see getphfig and loadphfig MBK functions).
RETURN VALUE
A pointer to the newly created instance is returned.
ERRORS
"Rds202: rdsalloc error, can't continue !"
it's impossible to allocate the memory size desired
EXAMPLE
#include "mphnnn.h"
#include "mutnnn.h"
#include "rdsnnn.h"
#include "rfmnnn.h"
#include "rtlnnn.h"
typedef struct UserStruct
{
char *STRING;
void *USER1;
} UserStruct;
main()
{
phfig_list *MbkFigure;
phins_list *MbkInstance;
rdsfig_list *RdsFigure;
rdsins_list *RdsInstance;
mbkenv();
rdsenv();
loadrdsparam();
/* create MbkFigure Named "core" */
MbkFigure = addphfig("core");
/* add Mbk instance "n1_y" to MbkFigure named "core" */
MbkInstance = addphins(MbkFigure,"n1_y","inv_1",NOSYM,4,9);
/* create RdsFigure named "core_2" */
RdsFigure = addrdsfig("core_2",sizeof(UserStruct));
/* create RdsInstance with MbkInstance */
RdsInstance = insmbkrds ( RdsFigure, MbkInstance, 'A', 0 );
viewrdsins ( RdsInstance );
. . .
}
SEE ALSO
librfm, librds, viewrfmins, loadrdsparam
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM
/LIP6 October 1, 1997 INSMBKRDS(3)