Asmcmd CP command and naming result
Hi,
Could comeone explain me why when I try to copy a control file stored in ASM the name of the copy is not the one i excepted ?
ex :
asmcmd > cp mydb01.ctl.3523.12 mydb02.ctl
asmcmd > ls
asmcmd > mydb01.ctl.3523.12 mydb02.ctl.4325.13
Why 'mydb02.ctl' has been renamed 'mydb02.ctl.4325.13'
Is is due to OMF ?
Can I force asm to name as I want ? and how?
Thanks for response
S.Grenet
S. Grenet wrote:
Ok
I think I've understood the naminp principes.So, this should be clear then :
+"Every file created in ASM gets a system-generated filename, otherwise known as a fully qualified filename. ASM files are Oracle-managed files unless you created the file using an alias"+
Is there really not possibility to name the file as I want ?Possibility was mentioned in those docs you just read, so read again about creating an alias for the system-generated filenames.
[mkalias Command|http://download.oracle.com/docs/cd/B28359_01/server.111/b31107/asm_util.htm#BABHBEDG]
Similar Messages
-
GUI that open a Linux terminal, run commands and retrieve results
Hi
I am currently designing a GUI that should make it easier for users to execute a command line statement and read the information that is returned.
I should not have any issues with the actual GUI, but I have not been able to find any examples to help with how to open a command terminal, enter a command and retrieve the results. I am aware that using a screen scraper is a possibility, but if anyone is aware of any examples to achieve this, that would be great.
Thanks
MattIs the command line app a simple, straightforward one
that just prints its output? (Eg. ls, dmesg, or any application
that simply print results without reading input)
If so, try this tutorial on calling a program
and reading its output:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
But if your commandline app is a rich-interactive one
(eg. a full screen menu program or full screen text editor
or something), then it's much much more complicated. -
Executing system commands and capturing results
How do I get the result of executing a system command using Runtime? For example, if I execute "cmd /c dir", how do I get to the result of the dir command from the Process that is returned?
Process p = Runtime.getRuntime.exec("...");
InputStream in = p.getOutputStream();
// now read the "in" stream just as you would any
other stream.Slight typo getRuntime(), but it's close... -
Wht's the Diff bet AT-USER command and AT-PF STATUS
Can Anybody explain me the diffarence between At user command and At-pf status.
Thanks,
SrikHi Srikanth,
AT USER-COMMAND - Event in interactive reporting
This event is executed whenever the user presses a function key in the list or makes an entry in the command field .
Some functions are executed directly by the system and thus cannot be processed by programs. These include:
PICK See variant AT LINE-SELECTION PFn See variant AT PFn /... System command %... System command PRI Print BACK Back RW Cancel P... Scroll function (e.g.: P+ , P- , PP+3 , PS-- etc.)
Instead of this functions, you can use the SCROLL statement in programs.
Since many of these system functions begin with "P", you should avoid using this letter to start your own function codes.
Otherwise, the effect is as for AT LINE-SELECTION ; also, the current function code is stored in the system field SY-UCOMM .
Example
DATA: NUMBER1 TYPE I VALUE 20,
NUMBER2 TYPE I VALUE 5,
RESULT TYPE I.
START-OF-SELECTION.
WRITE: / NUMBER1, '?', NUMBER2.
AT USER-COMMAND.
CASE SY-UCOMM.
WHEN 'ADD'.
RESULT = NUMBER1 + NUMBER2.
WHEN 'SUBT'.
RESULT = NUMBER1 - NUMBER2.
WHEN 'MULT'.
RESULT = NUMBER1 * NUMBER2.
WHEN 'DIVI'.
RESULT = NUMBER1 / NUMBER2.
WHEN OTHERS.
WRITE 'Unknown function code'.
EXIT.
ENDCASE.
WRITE: / 'Result:', RESULT.
After entry of a function code, the appropriate processing is performed under the event AT USER-COMMAND and the result is displayed in the details list.
AT PFn - Event in interactive reporting
Here, n stands for a numeric value between 0 and 99.
This event is executed whenever the user presses a function key that contains the function code PFn in the interface definition. The default status for lists contains some of these functions.
Otherwise, the effect is as for the variant AT LINE-SELECTION . The cursor can be on any line.
To ensure that the chosen function is executed only for valid lines, you can check the current HIDE information. This variant should be used only for test or prototyping purposes, since the default status is not normally used. Instead, you should set a program-specific status with SET PF-STATUS . This should not contain any function codes beginning with " PF ".
Example
DATA NUMBER LIKE SY-INDEX.
START-OF-SELECTION.
DO 9 TIMES.
WRITE: / 'Row', (2) SY-INDEX.
NUMBER = SY-INDEX.
HIDE NUMBER.
ENDDO.
AT PF8.
CHECK NOT NUMBER IS INITIAL.
WRITE: / 'Cursor was in row', (2) NUMBER.
CLEAR NUMBER. -
MS SQL server is going down frequently(10 days of gap) with exception message: "A severe error occurred
on the current command. The results, if any, should be discarded". We are facing this issue for past two month.But funny thing is server will be up automatically with out any service restart manually. Also if we try to restart the SQL
server service manually then SQL server will be in a dead lock situation and it will not come up even if we wait for long time. Then we should do a windows server machine restart to
make the SQL sever up. As a suggestion from Microsoft to fix this kind of similar issue,
we have installed service pack 3 for SQL Server. But even after we are facing same issue.
Server Details:
Server OS: Windows Server 2008 R2
Two type of database servers are installed on server:
1. MS SQL Server 2008 R2
2. My SQL
Also Reporting server is configured for the purpose of generating SSRS report from a dot net website.
NOTE:Immediately after the data retrieval/save, we are closing the connection explicitly by the
application.
we have checked the windows event log and below are the details:
Log Name: Application
Source: ASP.NET 4.0.30319.0
Application information:
Application domain: /LM/W3SVC/5/ROOT-1-130718142067856406
Trust level: Full
Application Virtual Path: /
Application Path: E:\WebSpaceFolder\ACSQuiK\Production\
Machine name: DBSERVER
Process information:
Process ID: 148
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: SqlException
Exception message: A severe error occurred on the current command. The results, if any, should be discarded.
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
Log Name: Application
Source: Report Server Windows Service (MSSQLSERVER)
Description:
Report Server Windows Service (MSSQLSERVER) cannot connect to the report server database.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Report Server Windows Service (MSSQLSERVER)" />
<EventID Qualifiers="0">107</EventID>
Could anybody can suggest any kind of fix for this issue? Thanks in advance.Hi YesYemPee,
I have tried but still not clear about your issue, I would like you provide more details information about your issue based on below points to better analysis about the issue:
What action did you do and caused the error "A severe error occurred on the current command. The results, if any, should be discarded", did you run report on the web application or something else then the error happen?
If you rendering the report and got the error, please try to provide us more error information in the log files which path like:
C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles
If it is not the case in step1, Please try to provide SQL Server Error log(SQL Server Logs) and more details information.
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
Having trouble in running a unix command and getting the output
Hi,
I am trying to run a unix command from within the java code. I am not able to make it work. I am enclosing the code and the error message that I am getting. Any help is highly appreciated.
import java.io.*;
public class RunCommand {
public static void main(String args[]) {
String s = null;
try {
Process p = Runtime.getRuntime().exec("cat UNIX_ASCII_TEXT_FILE | A_UNIX_PROGRAM -d");
BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getErrorStream()));
// read the output from the command
System.out.println("Here is the standard output of the command:\n");
while ((s = stdInput.readLine()) != null) {
System.out.println(s);
// read any errors from the attempted command
System.out.println("Here is the standard error of the command (if any):\n");
while ((s = stdError.readLine()) != null) {
System.out.println(s);
System.exit(0);
catch (IOException e) {
System.out.println("exception happened - here's what I know: ");
e.printStackTrace();
System.exit(-1);
}The error message that I am getting is
Here is the standard output of the command:
SLu|%%$$=
Here is the standard error of the command (if any):
cat: cannot open |
cat: cannot open A_UNIX_PROGRAM
cat: cannot open -dLooks like the cat command is working and not the pipe command and the command after the pipe. But when I run the UNIX command from the command prompt I get the expected result.You might read this article and see if its approach works.
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html -
Execute command and save output in a HTML File
Hello Guys,
I have a requirement and for that i have to do following. a) read a file in an array and then execute a command for each value in that array. after that i want to store the output of command and value of array in another array.
i am doing something like below.
set objtextfile = objfso.opentextfile _
("c:\temp\aaaa.txt", forreading)
j=0
Do until objtextfile.atendofstream
redim preserve arr123(j)
arr123(j) = objtextfile.readline
j = j+1
Loop
for each server in arr123
chk_status = "command" &" "& server
set objexecobject = objshell.exec(chk_status)
'Here i am not sure how to proceed further to achieve what i described above.
Next
Can someone help me with this?
-KAKA-Thank you for your response.
So here is what i want to do.
Query a database using odbc from my management server (odbc is configured and connection is tested) and based on the query it will result out few list of servers. then from the same management server i want to execute a command against all the resulted server
(management server has a binary which can execute remote action). this remote action will get output back.
then i would like to store the name of server and resulte output in a html file which should look like below.
which i will later host on apache.
YOu do not need to move things in and out of arrays and files.
>>>> You are right but as i stated, i am not a core programmer and due to nature of my job i have to work on perl, shell and VB Script, apart from my actual technology so it becomes difficult to write it with perfection.
I hope you understand.
-KAKA-
-KAKA- -
Roll up command and CUBE command
Please anyone explain me what is the use of ROLLUP and CUBE command in SQL and which situations it will be using.
Rollup and cube, both of these will be helpfull in aggregate function along with group by.
Roll up will results in data along with their summation.
and Cube results in summation of all possible combination.
It will be help when creating reports and some analytical data.
Below is an article which give further more explanation
http://www.oracle-base.com/articles/misc/rollup-cube-grouping-functions-and-grouping-sets.php -
We have a DotNet website which is deployed on a physical server(windows server 2008 r2). The application is started to using for live. Most of the time application is working fine. But some times we have noticed the application is failed to communicate
with MS SQL 2008 R2 database and as result the below error is displaying:
"A severe error occurred on the current command. The results, if any, should be discarded. at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject
stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean&
dataReady) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) at System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean
enlistOK) "
If we tried to connect the database server the same issue is showing:"A severe error occurred on the current command. The results, if any, should be discarded"
The issue will be resolved automatically after 30-45 minutes . Please let us know if any fixes can be done to resolve this issue.
NOTE: We have installed SQL Server 2008 service pack 3 as per the suggestion from experts .But still the issue pwersist.Hello,
When this issue occurs have you check the existing connections? If an app was unclean developed it can happen that the app opens connection by connection, but never closed them correctly and when all available connections are in use, such an error can occur.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
I have a strange situation on a database, which are on SQL Server 2008 R2 Express SP2. The database size is something around 90 MB.
When a user try to insert a record inside one table, he receive an error message, and the program is disconnected from the database. I tried to investigate this issue, and I discovered that when user try to insert one row the trigger for
insert invoke also the trigger for update and sql server crushes with "A severe error occurred on the current command. The results, if any, should be discarded."
I have checked from SQL Server Management Studio to run a direct Update on the specific table. The same error occurred.
I have run DBCC CheckTable and no errors have been found. I also have run DBCC CHECKDB and no errors.
Because I also have 3 other different databases, with the same functionality, on the same server which are going well with more than 100 000 records in that specific table, and the triggers are going well for more than 5 years, I have assumed that some
problems occurs inside the database. That is why I have copied all the records from the "damage" database to a new one. This means that inside the new databases the indexes are regenerated and a new space will be allocated.
The same strange things are happening. The same table can not be updated with a very basic Update statement.
I am looking for a patch or KB to solve this issues.
Any ideas are will be appreciated.
Thank youthere is a file as response to one of my tests to investigate which command is responsible for this error.
Current time is 21:18:39 08/18/13.
=====================================================================
BugCheck Dump
=====================================================================
This file is generated by Microsoft SQL Server
version 10.50.4000.0
upon detection of fatal unexpected error. Please return this file,
the query or program that produced the bugcheck, the database and
the error log, and any other pertinent information with a Service Request.
Computer type is Intel(R) Core(TM) i7 CPU 860 @ 2.80GHz.
Bios Version is INTEL - 1072009
BIOS Date: 09/23/09 11:58:43 Ver: 08.00.10
8 X64 level 8664, 2 Mhz processor (s).
Windows NT 6.1 Build 7601 CSD Service Pack 1.
Memory
MemoryLoad = 16%
Total Physical = 8125 MB
Available Physical = 6755 MB
Total Page File = 16248 MB
Available Page File = 14719 MB
Total Virtual = 8388607 MB
Available Virtual = 8380163 MB
***Stack Dump being sent to d:\MSSQL10_50.MSSQLSERVER\MSSQL\LOG\SQLDump0084.txt
SqlDumpExceptionHandler: Process 52 generated fatal exception c0000005 EXCEPTION_ACCESS_VIOLATION. SQL Server is
terminating this process.
* BEGIN STACK DUMP:
* 08/18/13 21:18:39 spid 52
* Exception Address = 0000000000886B00 Module(sqlservr+00000000001F6B00)
* Exception Code = c0000005 EXCEPTION_ACCESS_VIOLATION
* Access Violation occurred writing address 0000000000000000
* Input Buffer 214 bytes -
* begin transaction insert into DocContabile select * f
* rom gunoiDocContabile rollback
* MODULE BASE END SIZE
* sqlservr 0000000000690000 00000000042A1FFF 03c12000
* ntdll 0000000077730000 00000000778D8FFF 001a9000
* kernel32 0000000077510000 000000007762EFFF 0011f000
* KERNELBASE 000007FEFD6E0000 000007FEFD74AFFF 0006b000
* ADVAPI32 000007FEFE090000 000007FEFE16AFFF 000db000
* msvcrt 000007FEFE300000 000007FEFE39EFFF 0009f000
* sechost 000007FEFF590000 000007FEFF5AEFFF 0001f000
* RPCRT4 000007FEFF5B0000 000007FEFF6DCFFF 0012d000
* MSVCR80 0000000071710000 00000000717D8FFF 000c9000
* MSVCP80 0000000071600000 0000000071708FFF 00109000
* sqlos 00000000715F0000 00000000715F6FFF 00007000
* Secur32 000007FEFD1E0000 000007FEFD1EAFFF 0000b000
* SSPICLI 000007FEFD3B0000 000007FEFD3D4FFF 00025000
* pdh 000007FEF90C0000 000007FEF910DFFF 0004e000
* SHLWAPI 000007FEFDE50000 000007FEFDEC0FFF 00071000
* GDI32 000007FEFE3A0000 000007FEFE406FFF 00067000
* USER32 0000000077630000 0000000077729FFF 000fa000
* LPK 000007FEFDE40000 000007FEFDE4DFFF 0000e000
* USP10 000007FEFF970000 000007FEFFA38FFF 000c9000
* USERENV 000007FEFC850000 000007FEFC86DFFF 0001e000
* profapi 000007FEFD510000 000007FEFD51EFFF 0000f000
* WINMM 000007FEFB320000 000007FEFB35AFFF 0003b000
* IPHLPAPI 000007FEFAD70000 000007FEFAD96FFF 00027000
* NSI 000007FEFDFB0000 000007FEFDFB7FFF 00008000
* WINNSI 000007FEFAD60000 000007FEFAD6AFFF 0000b000
* opends60 0000000071590000 0000000071597FFF 00008000
* NETAPI32 000007FEFAEB0000 000007FEFAEC5FFF 00016000
* netutils 000007FEFAEA0000 000007FEFAEABFFF 0000c000
* srvcli 000007FEFD060000 000007FEFD082FFF 00023000
* wkscli 000007FEFAE80000 000007FEFAE94FFF 00015000
* LOGONCLI 000007FEFCB90000 000007FEFCBBFFFF 00030000
* SAMCLI 000007FEFAE60000 000007FEFAE73FFF 00014000
* BatchParser 0000000071560000 000000007158CFFF 0002d000
* IMM32 000007FEFE060000 000007FEFE08DFFF 0002e000
* MSCTF 000007FEFE1F0000 000007FEFE2F8FFF 00109000
* psapi 00000000778F0000 00000000778F6FFF 00007000
* instapi10 0000000071320000 000000007132CFFF 0000d000
* cscapi 000007FEF7FA0000 000007FEF7FAEFFF 0000f000
* sqlevn70 0000000071100000 0000000071303FFF 00204000
* CRYPTSP 000007FEFCE50000 000007FEFCE66FFF 00017000
* rsaenh 000007FEFCA70000 000007FEFCAB6FFF 00047000
* CRYPTBASE 000007FEFD440000 000007FEFD44EFFF 0000f000
* BROWCLI 000007FEF8B80000 000007FEF8B91FFF 00012000
* AUTHZ 000007FEFCF70000 000007FEFCF9EFFF 0002f000
* MSCOREE 000007FEF8980000 000007FEF89EEFFF 0006f000
* ole32 000007FEFDC30000 000007FEFDE32FFF 00203000
* credssp 000007FEFC960000 000007FEFC969FFF 0000a000
* msv1_0 000007FEFCD90000 000007FEFCDE0FFF 00051000
* cryptdll 000007FEFD090000 000007FEFD0A3FFF 00014000
* kerberos 000007FEFCCD0000 000007FEFCD83FFF 000b4000
* MSASN1 000007FEFD5B0000 000007FEFD5BEFFF 0000f000
* schannel 000007FEFCB00000 000007FEFCB55FFF 00056000
* CRYPT32 000007FEFD7D0000 000007FEFD939FFF 0016a000
* security 0000000071390000 0000000071392FFF 00003000
* WS2_32 000007FEFF360000 000007FEFF3ACFFF 0004d000
* SHELL32 000007FEFE5D0000 000007FEFF357FFF 00d88000
* OLEAUT32 000007FEFDED0000 000007FEFDFA6FFF 000d7000
* ncrypt 000007FEFCF20000 000007FEFCF6CFFF 0004d000
* bcrypt 000007FEFCEF0000 000007FEFCF11FFF 00022000
* mswsock 000007FEFCDF0000 000007FEFCE44FFF 00055000
* wship6 000007FEFCFB0000 000007FEFCFB6FFF 00007000
* wshtcpip 000007FEFC720000 000007FEFC726FFF 00007000
* ntmarta 000007FEFC620000 000007FEFC64CFFF 0002d000
* WLDAP32 000007FEFE410000 000007FEFE461FFF 00052000
* ntdsapi 000007FEF7AF0000 000007FEF7B16FFF 00027000
* bcryptprimitives 000007FEFC9D0000 000007FEFCA1BFFF 0004c000
* SAMLIB 000007FEFBE10000 000007FEFBE2CFFF 0001d000
* CLBCatQ 000007FEFD960000 000007FEFD9F8FFF 00099000
* sqlncli10 0000000063720000 00000000639DCFFF 002bd000
* VERSION 000007FEFC650000 000007FEFC65BFFF 0000c000
* COMCTL32 000007FEFA110000 000007FEFA1AFFFF 000a0000
* COMDLG32 000007FEFDFC0000 000007FEFE056FFF 00097000
* SQLNCLIR10 00000000636E0000 0000000063716FFF 00037000
* netbios 000007FEF4340000 000007FEF4349FFF 0000a000
* xpstar 0000000063650000 00000000636D7FFF 00088000
* SQLSCM 0000000063640000 000000006364DFFF 0000e000
* ODBC32 000007FEF0AC0000 000007FEF0B70FFF 000b1000
* ATL80 0000000063620000 000000006363FFFF 00020000
* odbcint 00000000635E0000 0000000063617FFF 00038000
* clusapi 000007FEF91B0000 000007FEF91FFFFF 00050000
* resutils 000007FEF9190000 000007FEF91A8FFF 00019000
* xpstar 00000000635B0000 00000000635D4FFF 00025000
* dbghelp 0000000063330000 000000006348DFFF 0015e000
* P1Home: 000000000BB6A950: 00000000C0000005 0000000000000000 0000000000886B00 0000000000000002 00000000
What else should I have to do?
Thank you,
Horia -
One of my servers quit responding during some troubleshooting of another issue and when I try
to reconfigure it I am receiving Results as follows:
Reserving url http://+:80
The URL has already been reserved.
It appears to me that there is something with the Virtual Directory that is not allowing me to use it or
overwrite it. If I change the name or the port the new configuration works fine, however this is part of a scale-out test environment and I need to keep the virutal directory names the same.
I have uninstalled and reinstalled SSRS in an attempt to resolve, but that did nothing to this issue.
I have used 'netsh http delete urlacl' command and deleted saved urls also but still am facing issue.
How can I manually list, delete, or edit Virtual Directories in SSRS 2012?Hi Syed,
Based on my research, the issue can be caused by the default values for Report Server Web Service and Report Manager has already been reserved. In order to trouble shoot this issue, please refer to the following steps:
To check this issue, we can run the following command in the command windows:
netsh http show urlacl | find "Report"
It should returns the reserved URL as below:
Reserved URL :
http://+:80/ReportServer/
User:
Reserved URL :
http://+:80/Reports/
User:
Then we can delete the reserved URLs with the command below and recreate them to fix this issue:
netsh http delete urlacl http://+:80/ReportServer/
netsh http delete urlacl http://+:80/Reports/
Reference:
http://fix.lazyjeff.com/2011/12/sql-server-2008-r2-report-server-web.html
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to save terminal command and output history to pdf on exit?
When I exit a terminal session (terminal.app), I would like to automatically save the commands and output from the session to a PDF (or text file) as a reference.
I can do this manually in Terminal by selecting Shell --> Print... --> PDF --> Save as PDF...
Unfortunately, I'm too forgetful to remember to do this each time before I exit.
Is there an alias I could set or some other method to automatically save the contents of my session to a PDF when I exit?
Thank you in advance,
jjwFrank,
Your response was helpful, but I realized after looking at my .bash_history file that only the commands entered are listed, not the output. I would like my commands to be printed out, but also the result from the commands (in this simple example, the directory listing):
myuserid[~/galaxy-dist/tools]$ cd ncbi_blast_plus
-------------------------------------------------------------------------------- ----------------------------------------------------- 09:48:37
myuserid[~/galaxy-dist/tools/ncbi_blast_plus]$ ls
blastxml_to_tabular.py hide_stderr.py ncbi_blastp_wrapper.xml ncbi_tblastn_wrapper.xml
blastxml_to_tabular.xml ncbi_blastn_wrapper.xml ncbi_blastx_wrapper.xml ncbi_tblastx_wrapper.xml
-------------------------------------------------------------------------------- ----------------------------------------------------- 09:48:38
myuserid[~/galaxy-dist/tools/ncbi_blast_plus]$
I'm thinking that there is an automator script or an alias that I could use so that when I type, "exit", the commands and output for the session would be sent to a PDF and then the session would close.
I know it seems like an odd thing to want, but sometimes I'll forget the sequence of commands that gave me the correct output (plus, my command prompt has a timestamp on it, too).
Thanks, though, for the .bash_history information.
jjw -
Could not complete the Move command because the result would be too big
trying to move a picture and I get "could not complete the Move command because the result would be too big". It is the only layer.
This is for version 13.1
I am getting this error as well. I am trying to combine an ~19,000x3600pixel photo with an ~10,000x3600 pixel photo. I created a blank file 30,000x4000pixel to put the 2 photos together. I paste the larger photo into the blank file and position it to the vert center and horiz left of the blank file. I then paste the smaller picture into the new file. It goes in at the center in its own layer as expected. As soon as I try to move it left or right I get the above error message. I can move it ALL the way left and it will stay.
Also if I just create the blank file and paste the larger file in it and move to the right or left by just a little (say with the cursor controls or mouse but move slightly) I get the error. If I move all the way left it stays. If I move all the way right it gives an error BUT if I select undo move and redo move it goes to the right and stays. I tried that with the small file but could not get it to stay right.
all 3 are 72px/in -
[Spotlight] searching on a remote Volume and printing results
Morning.
I want to search on /Volumes/Server$ for all files with the extension .tex created after 2008-30-04 and print the results in a list containing the full paths of all items.
How can I do that?
TIA and kind regards, FriedrichHi glsmith, I had been playing around with that sort of command (among many other approaches) to get a find by size, and then the files sorted in order by size, since you can no longer do that thing with Spotlight. Anyway, while had done a pipe to sort, and had also fooled around with various approaches to get a text file output, I had not used xargs (because I know nothing about it, except some commands I have copied from here and there use it). So I was curious about your command, and tried this:
NoobiX:~ francine$ mdfind -0 -onlyin ~ 'kMDItemFSSize > 209715200' | xargs -0 ls -l | sort -n > ~/Desktop/Greatersearch.txt
Works fine. But I'm curious about the "-0" option. What is it for? Is it to get a decent text formatting scheme?
Francine
Francine
Schwieder -
Info for command and busy status
Can anyone provide me with info on the busy status property returned by the info for command?
Under OS 9, I used that to determine if files were busy before attempting to process them.
Now, under OS X, it doesn't seem to be functional, the files are processed even if they really are busy, and the fider throws a message back at me saying so.
Basic scenario (repeated with any PostScript files found in folder):
set busyStatus to busy status of (info for epsFile as alias)
if busyStatus is false then
try
<distill file>
on error
return 10
end try
end if
if exists epsFile then
set busyStatus to busy status of (info for epsFile as alias)
if busyStatus is false then
try
delete epsFile
on error
return 10
end try
end if
end if
The folder being watched is a folder that graphic artists are writing PS files to directly from InDesign.
If the script runs and a PS file is in the process of being written, it still attempts to distill it, and it still attempts to delete it, and the result is a finder error.
I had assumed that the busy status would solve my problem, but it doesn't ever appear to return a true value.
I had also assumed that the try-on error block would catch the finder error and prevent it from displaying the dialog box, but it doesn't appear to.
I have found a few references to the fact that busy status isn't reliable, and may not work at all under OS X. Anyone have any ideas?We used to use the watched folder feature of Acrobat. We just upgraded our process from OS 9/Acrobat 4 to OS X/Acrobat 7. What Adobe fails to tell you, is that the Standard version of Acrobat doesn't have watched folders. That is now only a feature of the Pro version.
I thought I could avoid paying $150 a copy to upgrade from Standard to Pro, just for that one feature.
I have previously used Applescript to create watched folders for a variety of automation tasks, and never had a problem. Because I have a lot of Applescript processes in place already that rely on being able to determine if a file is busy, I need to figure out how to do it with OS X.
Maybe you are looking for
-
Printing of continuous similar pages in a script
hi experts, i have customized a script, the script contains only one page data. but i want to print the same script with small header content change for 5 times in one execution.. thanks & regards deepika
-
BO Crystal Report error in Portal
Dear Experts, I imported one Crystal Report into Portal.. when i trying click on Preview i got Error like this Error in File Purchase Report Test: Encapsulating page failed File purchase Report is BO Crystal repo
-
HT4623 When will the iPhone 5S come out?
Does any body know when the iPhone 5S comes out? What is the difference.
-
Hi All! Following statement give me an error ORA-00904: Invalid column name in the string: on (Mirror.ARCH_FLAG=qt.ARCH_FLAG and Mirror.CREDIT_HEADER_ID=qt.CREDIT_HEADER_ID) merge into CREDIT_HEADER_P Mirror using (select CREDIT_HEADER_ID, PO_DATE, H
-
Get the timestamp value in the form of array of 8 bytes, whileretrieving da
3) How we can get the timestamp value in the form of array of 8 bytes, while retrieving the data? 4.) How we can pass the 8 byte array to stored procedure? What will the data type of the parameter?