Weird Command Line Prompt in Terminal
Could someone tell me why my command line prompt is coming up as:
vickyscomputer:~ lukecartledge$
This is in a bash shell on 10.5.7.
This is not the name given to the computer and never has been. What is wrong here and is this serious?
What is wrong here and is this serious?
There's nothing wrong. The prompt is showing the current host. The following line from /etc/bashrc produces the prompt->
PS1='h:W u$ '
Similar Messages
-
G5 will not boot into OSX - stays at a command-line prompt
My G5 will not boot into OS X. I would appreciate and and all advice. Thanks.
What happened:
I had the G5 running one morning, with the Isight camera on, plugged into the front-console firewire port. I was running EvoCam software.
At about 2 hours into running, the cam stopped broadcasting – I got home to check it out three hours later, and the screen was black, and the fan was louder than I had ever, ever heard it on this box.
I did a hard shut-down with the powerbutton on the Cinema Display monitor.
At reboot, I see a grey screen for approx 5 seconds, with a dark grey apple logo, and then the screen goes to black, with a command-line prompt.
It’s been like that ever since.
I ran the Apple Hardware test, from the internal CD drive, and it shows no errors.
I cannot boot from an OSX installer DVD. It won’t recognize it. It goes straight to the black screen and Command line prompt.
I have re-seated the RAM, as well as the Airport Card. The only other card – which I have not re-seated, it the video card.
I am able to use the machine in Target Mode, so I can extract data from the drives, which is great. Oddly enough, I’m able to use the front-console firewire port to connect to my other Mac in Target mode – with no problems. Also – in Target mode, the fan never goes above the usual quiet self.
I would appreciate any advice one can provide. Thanks!
The machine:
Mac G5 dual 2.0 – First Generation (purchased December 2003)
It’s on it’s 3rd Motherboard – and now it’s fully out of Applecare warrantee.
OSX 10.4.9
4GB Ram
2 internal drives: 160GB + 300GB
Airport Extreme
20” Cinema Display (first generation)
Mac G5 dual 2.0 – First Generation Mac OS X (10.4.9)Well, Apple Support does have articles on:
Isolating Issues in Mac OS X
http://docs.info.apple.com/article.html?artnum=25392
won't boot or login
http://docs.info.apple.com/article.html?artnum=106464#symp1
And if those don't work, call.
With G4 there is/was
"Fix for a Mac that won't power up
Mirrored Doors G4. When you pressed the power button, the button would light up, but the computer would not turn on. The fans on the power supply wouldn't turn on.
FIX: unplug the machine, pull the clock battery, hit the power button to discharge. Then plug it in without the clock battery. The machine should boot perfectly. Shut down, reinstall the clock battery, and now the system is fully functional. Macosxhints
http://docs.info.apple.com/article.html?artnum=300552
Reseat video? try another video card?
My Step #1 is to always boot into Open Firmware (and do reset-nvram, reset-all, if you can't do that, you are sunk).
Oh, and What do you see in verbose mode on startup?
Mac Pro 2GHz 4GB 10K Raptor 23" Cinema Mac OS X (10.4.9) WD RE RAID Aaxeon FW800 PCIe MDD-G4 APC RS1500 Vista -
Automating sql files via a command line prompt
Hi All
I've set up an SQL file that extracts information about students in csv format. This information is then imported into another piece of software that creates students e-mail accounts etc..
The program prompts the user to specify from when they want the data from e.g. list of student details that enrolled after 01-SEP-2002.
The Network Manager has now asked me if there is any way the extraction of the student data and import into the e-mail creation software can be automated. He suggested command line prompts as used in DOS e.g. dir/od *.sql > test where dir gives the directory the od orders the files by date.
The Network Manager wanted the extraction and import procedure run on a regular basis by simply just typing a 'command line'. The extraction would take place on an hourly basis especially during the main enrolment periods
Can anybody help me?
Thanks
JenI work mainly with UNIX, so cannot give you the actual DOS commands, but I would structure the program as below. I assume that you have some way of identifying the last enrollment you extract.
In psuedo code:
Set up any environment variables required
sqlplus -s user/password@enrollment_server @student_extract.sql
-- student_extract.sql would spool to a fixed name file say enrollment.txt
-- after extracting, it would update a single column, single row table with the
-- the identifying field for the last enrollment extracted (this would also
-- be used in the extract query as the lower bound)
Reset any environment variables required to connect to the email server
sqlplus -s user/password@email_server @load_email.sql
-- load_email.sql would read enrollment.txt and do whatever is required
rename enrollment.txt to enrollment.txt.current-date-timeThis could be run out of an automatic scheduler if you have one, or manually from the command line.
HTH
John -
How do shutdown the weblogic server from the command line prompt using web logic 8.1
I%u2019m currently using weblogic 6.1, but I will upgrade to weblogic 8.1. In weblogic 6.1, the following statements will shutdown the weblogic instance from the command line:
java weblogic.Admin -url t3://hostname:port -username system -password abc SHUTDOWN
How do I shutdown the weblogic server from the command line prompt using web logic 8.1.
Any help will be greatly appreciated.
MariaMaria <[email protected]> wrote:
How do I shutdown the weblogic server from the
command line prompt using weblogic 8.1?Greetings Maria! Use this document, located here:
http://edocs.bea.com/wls/docs81/admin_ref/cli.html#1131733
Hope this helps...
Brian J. Mitchell
Systems Administrator, TRX
email: [email protected]
office: +1 404 327 7238
mobile: +1 678 283 6530 -
Support nicanmsc.lib through command line prompt
Hi, I am developing CAN(NICAN) program in VC++ using Visual Studio 2010.I am using nicanmsc.lib and develop the GUI Application.
In this no problem what so ever but I need to run the same thing through command line prompt.
I dont know how to support my nicanmsc.lib in command line prompt.
So please help me how to do this.
Any assistance is greatly appreciated.You can ignore the parts about the multiple table spaces, but the following article on Supportweb will show you the use of the command line utilities.
FAQ XXX: How do I run ddlsync with multiple tablespaces? [ID 477631.1] -
I am reading a book and it requires for me to go to a command line prompt for J2EE and type > java -version.
I am using windsows XP as my platform.
What file should I execute so I can open a window so I can get a command line prompt? And what is this window called?cmd
in windows start menu - type
cmd
then enter
called 'Command Prompt' in windows -
Automated Purge functionality using runjob command line prompt?
We are currently running scheduled jobs through a command line interface using various batch scripts. We are calling the runjob command.
My question, is there a Purge command prompt that we could include in these scheduled jobs to automate desired purges? We don't want to use the runopsjob command because this is taking away from our ability to view data in our created results books.
Thanks,
JordanHey Mike,
So let me layout the situation we are currently in. For our end-users, we generate results books showing data quality consistency issues between 2 systems. Those results books may have upwards to 100 tabs that the users will go into and analyze for what exactly is causing the discrepancy. Along with those results books, we populate Dashboards that will give a high-level understanding of what pages in the results books need attention as well as track our improvement overtime to present to upper management.
Our issue is that our storage space isn't sufficient for the large quantity of processes and records being ran and populated in EDQ. Therefore, we want to set up an automated purge schedule that we can use and incorporate with our command line batch scripts where we run the RUNJOB command. This almost seems as if it should be consider an enhancement request to either allow RUNJOB to have an automated purge schedule functionality or allow RUNOPSJOB to populate results books and dashboards.
What are your thoughts around this and what advice would you have moving forward?
Thanks,
Jordan -
When I try to start up my laptop, the white screen grinds away for several minutes before becoming a black screen with a cursor. No command line, really, just the cursor. Every few minutes I get this:
disk0s9: I/O error.
(date) (time) init: can't exec /bin/sh for single user: No such file or directory
Every third one of these replaces 'single user' with '/etc/rc'. I tried rebooting PRAM, NVRAM, and everything else I could think of. I'm out of the country for the immediate future, and I don't have the install disk. Is there anything I can do? I've tried looking around for a Mac OS disk to boot off of, but it seems that no one in Korea uses Macs.
Powerbook G4 17" Mac OS X (10.3.9)Hi--
Welcome to the Apple Discussions. Sorry to hear about your problems.
Unfortunately, it sounds very much to me like your hard drive has a bad block or blocks. Or it has failed in some other way. Normally, what I'd suggest in a situation like this is to get a Firewire hard drive, install the OS on it, and then try to use a program like Data Rescue to recover any files that aren't backed up. You can also put your PowerBook into Firewire Target disk mode and see if it can mount on the desktop of another Mac, and try to recover files that way.
Once you have everything backed up, you would then erase the hard drive in the PowerBook, making sure you use the "Write Zeroes" option, which should remap any bad blocks on the drive to spare sectors. Then, you would use Disk Utility on the OS installation disc to make sure the S.M.A.R.T. status on the HD is still okay, meaning it didn't run out of spare sectors. If it's okay, then you could re-install the OS, and move your files back.
Unfortunately, you're just very limited in what you can do because the error seems to be with the very first file to load, the "init" process, from which all else gets loaded. So you won't even be able to boot to single user mode, which you've already found out.
Apple has resellers in Korea, so you might check out their Korean web site. I sort of took a wild chance and came up with this page that seems to list them. I don't read Korean, but I'd guess the numbers down the center are phone numbers.
Good luck,
charlie -
Image goes back to a command line prompt during imaging
I am trying to image the AG Department computers at the high school I
work for but the image keeps stopping and going back to a screen prompt.
Is there anyway to fix this or do I need to upload another image?I typed echo $? after the imaging failed and it came back as "200". Again,
I typed it in and then it kept saying "0".
Also, I tried the zemimglog=A command, but nothing showed up on the floppy
disk. Do I need to mount the floppy drive before I do this command? Sorry,
but I am just now starting to try and learn linux since I have started
working with Novell.
> On Mon, 09 Oct 2006 18:17:56 GMT, [email protected] wrote:
>
> > We had this problem before and we had to completely reformat and
rebuild
> > a system for the imaging to work. I suspect that there is just
something
> > on the computer we took the image from that is causing the image to
fail,
> > but what it is we have no clue.
>
> hmm could you do an echo $? after the failed imaging?
> --
>
> If you have already compiled drivers or have linux.2 please put them on
> http://forge.novell.com/modules/xfmo...ect/?zfdimgdrv
> Live BootCd and USB Disk from Mike Charles
> http://forge.novell.com/modules/xfmod/project/?imagingx
> eZie http://forge.novell.com/modules/xfmod/project/?ezie
>
> Marcus Breiden
>
> If you are asked to email me information please change -- to - in my e-
mail
> address.
> The content of this mail is my private and personal opinion.
> http://www.edu-magic.net -
How to start linux box. How i can access its command line prompt
[root@rxxx ~]# /sbin/shutdown -h now
Broadcast message from root (pts/1) (Mon Feb 12 13:18:44 2007):
The system is going down for system halt NOW!
[root@rxxx ~]#If you want to reboot your system don't use -h (halt)
when system is halt, the only option you have is turn off system and turn back on.
halt
Set the computer to a mode that enables a user to turn off the computer.use
shutdown -r Now -
How to run command line tool in my program???
Hi,all,I've got some tools that are usually,or take JDK for example,if we are not using an IDE,we need to open the command prompt,and then use the javac command to compile the source files and the "java "command to run the program,and both of them accept some command line params.The problem is that how could i integrate the tools in my own program,like JBuilder or some other IDE,you configure the params and compile and run in the IDE which don't need to open a command line prompt.Hope i have got my question clear:)
Best regards..jesperdj ,thanks:)
actually,i am using eclipse to run my ant tasks programmatically,but I got trouble with the AntRunner class.it seems that i should config a proper classloader for it,but i just don't know how.please lend a hand:)thanks
robin -
Command line FTP - Abort trap: 6
Using command line FTP via Terminal. After establishing an FTP connection, any incorrectly entered command or text exits the application and throws an "Abort trap: 6" error. Correctly entered commands complete correctly. This occurs on two completely separate installations of 10.9. It does not occur if an FTP session is not established.
Crash report below:
Process:
ftp [66246]
Path:
/usr/bin/ftp
Identifier:
ftp
Version:
13
Code Type:
X86-64 (Native)
Parent Process: bash [66242]
Responsible:
Terminal [66239]
User ID:
501
Date/Time:
2013-11-28 14:18:47.791 -0500
OS Version:
Mac OS X 10.9 (13A603)
Report Version: 11
Anonymous UUID: 5F7421D8-9AD3-040F-5116-BC3150DCC215
Sleep/Wake UUID: CD3EA3CA-2BB7-4E70-AA5C-9A581EDFB661
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
detected source and destination buffer overlap
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib
0x00007fff8bcbc866 __pthread_kill + 10
1 libsystem_pthread.dylib
0x00007fff837a635c pthread_kill + 92
2 libsystem_c.dylib
0x00007fff86794bba abort + 125
3 libsystem_c.dylib
0x00007fff86794d31 abort_report_np + 181
4 libsystem_c.dylib
0x00007fff867b88c5 __chk_fail + 48
5 libsystem_c.dylib
0x00007fff867b88d5 __chk_fail_overlap + 16
6 libsystem_c.dylib
0x00007fff867b8906 __chk_overlap + 49
7 libsystem_c.dylib
0x00007fff867b8973 __strlcpy_chk + 68
8 ftp
0x00000001013a921b pswitch + 171
9 ftp
0x00000001013adeca lostpeer + 218
10 ftp
0x00000001013a5c34 getreply + 1556
11 ftp
0x00000001013a5f98 command + 472
12 ftp
0x00000001013a7025 initconn + 613
13 ftp
0x00000001013a8577 recvrequest + 903
14 ftp
0x00000001013aac72 cmdscanner + 1026
15 ftp
0x00000001013aa685 main + 3877
16 libdyld.dylib
0x00007fff8eeb15fd start + 1
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x00007fff72c1c310 rcx: 0x00007fff5e864308 rdx: 0x0000000000000000
rdi: 0x0000000000000507 rsi: 0x0000000000000006 rbp: 0x00007fff5e864330 rsp: 0x00007fff5e864308
r8: 0x00000000ffffffc0 r9: 0x00007fff5e864300 r10: 0x0000000008000000 r11: 0x0000000000000206
r12: 0x0000000000000000 r13: 0x00000001013a5cc0 r14: 0x0000000000000006 r15: 0x00000001013bc1d4
rip: 0x00007fff8bcbc866 rfl: 0x0000000000000206 cr2: 0x00000001013cb000
Logical CPU:
0
Error Code:
0x02000148
Trap Number:
133
Binary Images:
0x10139a000 -
0x1013b5fff ftp (13) <BDAAC6FF-F37C-3024-BF1A-85090D231BEA> /usr/bin/ftp
0x1013cc000 -
0x1013eaffb libedit.3.dylib (39) <1B0596DB-F336-32E7-BB9F-51BF70DB5305> /usr/lib/libedit.3.dylib
0x7fff6f1ea000 -
0x7fff6f21d817 dyld (239.3) <D1DFCF3F-0B0C-332A-BCC0-87A851B570FF> /usr/lib/dyld
0x7fff83395000 -
0x7fff8339eff3 libsystem_notify.dylib (121) <52571EC3-6894-37E4-946E-064B021ED44E> /usr/lib/system/libsystem_notify.dylib
0x7fff8379e000 -
0x7fff837a3fff libmacho.dylib (845) <1D2910DF-C036-3A82-A3FD-44FF73B5FF9B> /usr/lib/system/libmacho.dylib
0x7fff837a4000 -
0x7fff837abff7 libsystem_pthread.dylib (53.1.4) <AB498556-B555-310E-9041-F67EC9E00E2C> /usr/lib/system/libsystem_pthread.dylib
0x7fff8563d000 -
0x7fff8563efff libunc.dylib (28) <62682455-1862-36FE-8A04-7A6B91256438> /usr/lib/system/libunc.dylib
0x7fff85745000 -
0x7fff85749ff7 libcache.dylib (62) <BDC1E65B-72A1-3DA3-A57C-B23159CAAD0B> /usr/lib/system/libcache.dylib
0x7fff863d7000 -
0x7fff863feffb libsystem_info.dylib (449.1.3) <7D41A156-D285-3849-A2C3-C04ADE797D98> /usr/lib/system/libsystem_info.dylib
0x7fff863ff000 -
0x7fff86406ff7 liblaunch.dylib (842.1.4) <FCBF0A02-0B06-3F97-9248-5062A9DEB32C> /usr/lib/system/liblaunch.dylib
0x7fff86738000 -
0x7fff867c1ff7 libsystem_c.dylib (997.1.1) <61833FAA-7281-3FF9-937F-686B6F20427C> /usr/lib/system/libsystem_c.dylib
0x7fff87057000 -
0x7fff87071fff libdispatch.dylib (339.1.9) <46878A5B-4248-3057-962C-6D4A235EEF31> /usr/lib/system/libdispatch.dylib
0x7fff87831000 -
0x7fff8784cff7 libsystem_malloc.dylib (23.1.10) <FFE5C472-B23A-318A-85BF-77CDE61900D1> /usr/lib/system/libsystem_malloc.dylib
0x7fff8784d000 -
0x7fff87853ff7 libsystem_platform.dylib (24.1.4) <331BA4A5-55CE-3B95-99EB-44E0C89D7FB8> /usr/lib/system/libsystem_platform.dylib
0x7fff87891000 -
0x7fff878c1fff libncurses.5.4.dylib (42) <BF763D62-9149-37CB-B1D2-F66A2510E6DD> /usr/lib/libncurses.5.4.dylib
0x7fff8790e000 -
0x7fff87915fff libcompiler_rt.dylib (35) <4CD916B2-1B17-362A-B403-EF24A1DAC141> /usr/lib/system/libcompiler_rt.dylib
0x7fff88783000 -
0x7fff88784ffb libremovefile.dylib (33) <3543F917-928E-3DB2-A2F4-7AB73B4970EF> /usr/lib/system/libremovefile.dylib
0x7fff89c51000 -
0x7fff89c62ff7 libsystem_asl.dylib (217.1.4) <655FB343-52CF-3E2F-B14D-BEBF5AAEF94D> /usr/lib/system/libsystem_asl.dylib
0x7fff8a0f9000 -
0x7fff8a128fd2 libsystem_m.dylib (3047.16) <B7F0E2E4-2777-33FC-A787-D6430B630D54> /usr/lib/system/libsystem_m.dylib
0x7fff8a3d9000 -
0x7fff8a3deff7 libunwind.dylib (35.3) <78DCC358-2FC1-302E-B395-0155B47CB547> /usr/lib/system/libunwind.dylib
0x7fff8a98c000 -
0x7fff8a98dff7 libsystem_sandbox.dylib (278.10) <A47E7E11-3C76-318E-B67D-98972B86F094> /usr/lib/system/libsystem_sandbox.dylib
0x7fff8af34000 -
0x7fff8af82fff libcorecrypto.dylib (161.1) <F3973C28-14B6-3006-BB2B-00DD7F09ABC7> /usr/lib/system/libcorecrypto.dylib
0x7fff8bc64000 -
0x7fff8bca6ff7 libauto.dylib (185.5) <F45C36E8-B606-3886-B5B1-B6745E757CA8> /usr/lib/libauto.dylib
0x7fff8bca7000 -
0x7fff8bcc3ff7 libsystem_kernel.dylib (2422.1.72) <D14913DB-47F1-3591-8DAF-D4B4EF5F8818> /usr/lib/system/libsystem_kernel.dylib
0x7fff8c2ee000 -
0x7fff8c2efff7 libSystem.B.dylib (1197.1.1) <BFC0DC97-46C6-3BE0-9983-54A98734897A> /usr/lib/libSystem.B.dylib
0x7fff8c557000 -
0x7fff8c55bfff libsystem_stats.dylib (93.1.26) <B9E26A9E-FBBC-3938-B8B7-6CF7CA8C99AD> /usr/lib/system/libsystem_stats.dylib
0x7fff8c5b9000 -
0x7fff8c60bfff libc++.1.dylib (120) <4F68DFC5-2077-39A8-A449-CAC5FDEE7BDE> /usr/lib/libc++.1.dylib
0x7fff8d547000 -
0x7fff8d6f4f27 libobjc.A.dylib (551.1) <AD7FD984-271E-30F4-A361-6B20319EC73B> /usr/lib/libobjc.A.dylib
0x7fff8e6af000 -
0x7fff8e6b1ff7 libquarantine.dylib (71) <7A1A2BCB-C03D-3A25-BFA4-3E569B2D2C38> /usr/lib/system/libquarantine.dylib
0x7fff8e6b2000 -
0x7fff8e6b2ff7 libkeymgr.dylib (28) <3AA8D85D-CF00-3BD3-A5A0-E28E1A32A6D8> /usr/lib/system/libkeymgr.dylib
0x7fff8ead7000 -
0x7fff8eae1fff libcommonCrypto.dylib (60049) <8C4F0CA0-389C-3EDC-B155-E62DD2187E1D> /usr/lib/system/libcommonCrypto.dylib
0x7fff8ee6c000 -
0x7fff8ee95ff7 libc++abi.dylib (48) <8C16158F-CBF8-3BD7-BEF4-022704B2A326> /usr/lib/libc++abi.dylib
0x7fff8eeae000 -
0x7fff8eeb1ff7 libdyld.dylib (239.3) <62F4D752-4089-31A8-8B73-B95A68893B3C> /usr/lib/system/libdyld.dylib
0x7fff8eeb2000 -
0x7fff8eebafff libsystem_dnssd.dylib (522.1.11) <270DCF6C-502D-389A-AA9F-DE4624A36FF7> /usr/lib/system/libsystem_dnssd.dylib
0x7fff8eec8000 -
0x7fff8eeefff7 libsystem_network.dylib (241.3) <8B1E1F1D-A5CC-3BAE-8B1E-ABC84337A364> /usr/lib/system/libsystem_network.dylib
0x7fff8fc6a000 -
0x7fff8fc6cff3 libsystem_configuration.dylib (596.12) <C4F633D9-94C8-35D9-BB2D-84C5122533C7> /usr/lib/system/libsystem_configuration.dylib
0x7fff902b0000 -
0x7fff902b7ff3 libcopyfile.dylib (103) <5A881779-D0D6-3029-B371-E3021C2DDA5E> /usr/lib/system/libcopyfile.dylib
0x7fff904e1000 -
0x7fff904e2ff7 libsystem_blocks.dylib (63) <FB856CD1-2AEA-3907-8E9B-1E54B6827F82> /usr/lib/system/libsystem_blocks.dylib
0x7fff9056d000 -
0x7fff90591fff libxpc.dylib (300.1.17) <4554927A-9467-365C-91F1-5A116989DD7F> /usr/lib/system/libxpc.dylib
0x7fff906ef000 -
0x7fff906f0ff7 libDiagnosticMessagesClient.dylib (100) <4CDB0F7B-C0AF-3424-BC39-495696F0DB1E> /usr/lib/libDiagnosticMessagesClient.dylib
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 86695
thread_create: 1
thread_set_state: 0
VM Region Summary:
ReadOnly portion of Libraries: Total=70.9M resident=25.4M(36%) swapped_out_or_unallocated=45.5M(64%)
Writable regions: Total=44.5M written=400K(1%) resident=468K(1%) swapped_out=0K(0%) unallocated=44.0M(99%)
REGION TYPE
VIRTUAL
===========
=======
Kernel Alloc Once
4K
MALLOC
36.2M
MALLOC (admin)
16K
STACK GUARD
56.0M
Stack
8192K
VM_ALLOCATE
16K
__DATA
684K
__LINKEDIT
65.5M
__TEXT
5520K
shared memory
4K
===========
=======
TOTAL
171.8MThis doesn't help you much, but that looks like a bug.
-
Advice on constructing a test engine and formatting a spreadsheet test file to perform command line interface testing on a range of products through telnet or serial interface and output pass/fail results.
Hello j. smith,
TestStand gives you the ability to create "sequence files" which are lists of tests to be run sequentially or in parallel. These tests can be written in any language: LabVIEW VIs, C/C++ DLLs, EXEs, ActiveX objects, .NET Assemblies, etc.
You can run your TestStand sequence files from a command-line prompt using the following syntax:
\bin\SeqEdit.exe" /quit -run
This will launch the TestStand Sequence Editor (and optionally prompt you for TestStand login information if you have this configured), run your sequence file, then exit.
If you're using the TestStand process model, it can output your results to a report file or database if you configure this. To use a TestStand process mo
del to execute your sequence file, use the following syntax:
\bin\SeqEdit.exe" /quit -runEntryPoint
Here's an example:
C:\>"C:\Program Files\National Instruments\TestStand 3.0\bin\SeqEdit.exe" /quit -runEntryPoint "Single Pass" "C:\Program Files\National Instruments\TestStand 3.0\Examples\Demo\C\computer.seq"
Note that multiple sequences and sequence files can be specified on the command line.
TestStand supports remote sequence execution using DCOM (Distributed COM), which is an east way to remotely execute tests. But as for running tests or commands through a telnet or serial interface, you would have need to check Windows documentation on how to execute command-line remotely like this.
David Mc.
NI Applications Engineer -
How to Hide username and password in command line using maxl
Hi,
How to encript my user name and password in command line prompt when I am login to Essbase server using batch file:
*1_Here is my batch file:*
Name of the bat file AV_Assig_Var1.bat
rem This batch file defines the following variables:
set $1 = 'admin';
set $2 = 'password';
essmsh AV_Asig1.mxl admin password
===========================
*2_Here is my maxl file:*
Name of the bat file AV_Asig1.mxl
/* Create a process log */
spool on to 'D:\lova\spool_log.txt';
/* login (using variables from a batch file */
login $1 $2 on 10.42.100.229;
/* create application and database */
create application AV_Asig1;
create database AV_Asig1.AV_DB;
/* End process log */
spool off;
exit;
*3_Command line prompt*
D:\Ess>AV_Assig_Var1.bat
D:\Ess>rem This batch file defines the following variables:
D:\Ess>rem 1: username
D:\Ess>rem 2: password
D:\Ess>essmsh AV_Asig1.mxl admin password
Essbase MaxL Shell - Release 9.3.1 (ESB9.3.1.0.0A181)
Copyright (c) 2000, 2007, Oracle and/or its affiliates.
All rights reserved.
MAXL> login admin password on *10.46.100.222*; /* I want to hide this information */
OK/INFO - 1051034 - Logging in user [admin].
OK/INFO - 1051035 - Last login on Monday, June 14, 2010 12:44:03 PM.
OK/INFO - 1241001 - Logged in to Essbase.
MAXL> create application AV_Asig1;
OK/INFO - 1051061 - Application AV_Asig1 loaded - connection established.
OK/INFO - 1054027 - Application [AV_Asig1] started with process id [6792].
OK/INFO - 1056010 - Application AV_Asig1 created.
MAXL> create database AV_Asig1.AV_DB;
OK/INFO - 1054014 - Database AV_DB loaded.
OK/INFO - 1056020 - Database AV_Asig1.AV_DB created.
MaxL Shell completed
D:\Ess>
I am looking forward to inputs from anybody.
Thanks & Regards,
Deepthi.Beyond that thread, I gave a presentation at Kaleidoscope last year around MaxL that goes into quite a bit of depth re encryption and a whole bunch of other MaxL goodies.
To download it, go to www.odtug.com, click on Tech Resources, Essbase/Hyperion, and use the search box for MaxL.
There are two presentations, one by Tracy McMullen and the other by me. Tracy's is a good introduction to the various command groups; my presentation focused on a few areas in depth, one of which was encryption. The title is "Master Essbase with MaxL Automation".
You will need to join ODTUG to download the presentation, but there is a junior membership that is free.
Regards,
Cameron Lackpour
P.S. ODTUG Kaleidoscope 2010 is coming up in two weeks, starting on 27 June 2010 -- for those of you still on the fence, it is an awesome conference and I urge you all to come. The content this year will be fantastic. -
Crystal reports from command line
Post Author: DrewJ
CA Forum: General
Hi,
I need to run Crystal reports from the command line.
Does anyone know how to pass parameter arguments when launching the application?
I have tried cr32w.exe c:\reports\report.rpt arg="099909"
(which launches the right report, but does not pass in the arg)
Is it possible?
Thanks in advance,
Drew JohnstonHi,
Thanks for the reply. The application would not be on the same server as the machine. So if I used the command that you gave me would that actually run the report (ie refresh the data and then save the report ,as instructed in the settings, on to the network location). Or would it just open up the report. Also, how would I send parameters to the report, eg Dates or Status.
This is the scenario. At the moment a user would input data on to database via an external applicaion. After inputting all the data, they would then have to log into Crystal Infoview. Navigate to the report. They would then click on the Schedule hyperlink. They would change the parameters eg Start Date and End Date. And then press the Schedule button. The report would then refresh the data, and as specified in the Destination, it would write out to a network location.
So we want the external app to write a command line prompt, so that the user did not have to log onto Crystal at all. The application would send the relevant parameters and run the crystal report automatically without the user having to log into Crystal at all.
Regards,
Prakash
Maybe you are looking for
-
I have Windows 8.1 installed on my Macbook Pro Retina (Late 2013) and it keeps on crashing with a WHEA_UNCORRECTABLE_ERROR BSOD error. Is this an issue with the bootcamp driver not compatible with Windows 8.1? or is there something I can do to fix th
-
Dvi cable with hp w2007 display
I recently purchased an hp w2007 monitor to use with the mac mini. The VGA cable works fine using the dvi to vga adapter on the mini. However, when I connect the dvi-d cable that came with the monitor I get a black screen and a "no input signal" mess
-
Need info, How Leads are interfaced from Marketing
Hi, I have been working in Oracle Marketing.. I have created Campaigns/Campaigns Schedule and then its activated. Now I need to know at what time the leads are generated... and how these are transfered/imported to Sales Module. I have seen that if th
-
10.1.3.5.0 patch installation
Hi All, I have installed SOA Suite 10.1.3.10 as stand alone installation using oracle lite database. Now I want to install 10.1.3.5.0 pacth set to the existing soa suite. Could any one please share me the documentation steps for this. Its bit urgent.
-
AD FS Windows 2012 R2 exception occurred in service
I'm installing the first ADFS server in a new W2012 R2 farm The post-deployment configuration failed, during the installation the service doesn't start with the following event ID 7023: The Active Directory Federation Services service terminated with