SISS package output using DTEXEC command
Hello,
I need a help in executing SISS package using DTEXEC command
Here is the command i use
DTEXEC.EXE /F "C:\\excel_to_table.dtsx" /set \package.variables[filepath].Value;"C:\sample.xlsx" /set \package.variables[servername].Value;"000.000.000.0" /set \package.variables[database].Value;"Databasename" /set \package.variables[username].Value;"username" /set \package.variables[password].Value;"password"
In the package, I'm inserting the rows into a table. Now i want to display the number of records imported and number of duplicate records. Is it possible to get the values and display as result in command prompt.
Please advice.
Thanks,
Venkat.
Best Regards, Venkat
Hi Venkat,
According to your description, you want to display the row count information in the result of the DTEXEC commands in the Command Prompt. If so, this cannot be done through the DTEXEC utility.
If you can run other commands after the DTEXEC commands, you can first store the row count information to a SQL Server table using the methods posted by Jay and Visakh, and then run sqlcmd commands to display the data of a SQL Server table like:
sqlcmd -S localhost -d TestDB -Q "SELECT * FROM MyTable"
Reference:
https://www.simple-talk.com/sql/sql-tools/sql-server-sqlcmd-basics/
Regards,
Mike Yin
TechNet Community Support
Similar Messages
-
SSIS - Change Config File Path LOCATION in SQL Agent Job Step (NOT USING DTEXEC)
SSISers;
I am not new to ssis but am trying to deal with promoting of ssis config files differently for a specific project. We are using SQL 2008 R2.
As a standared pattern used for years, we just use SQL Agent, build a job step for the ssis package, add the ssis package as SQL Integration Services Package type from fileshare (not using Integration Services), and add the necessary production
config files in the configutation tab of the job step. Easy. We do not execute our packages with DTEXEC command line.
A new project has the developers leaving the config files in the package - not removing the config files for deployment. Is there a way to override JUST THE CONFIG FILE PATH LOCATION in the job step for ssis package? Remember, we are NOT using dtexec.
I was told that /SET might do it but I do not see a good example anywhere of hooking this in and how it works for a CONFIG FILE PATH LOCATION - I see variable overrides but not CONFIG FILE PATH LOCATION. The packages were written with Absolute config file
path and not Relative path.
Please understand that my goal is to let them leave the packages as is, we move the config files to the production sever and all we have to do is flip the location of where the config files are sitting for the ssis pacakge to look for them. We would
rather NOT have to use DTEXEC command line with the job step for reasons that I do no need to get into on this forum.
Any suggestions are appreciated.Hi mg30,
There is no way to overwrite the XML configurations file just through modifying the SQL Server Agent job steps. The Dtexec utility will apply the default package configurations for the second time after applying the options specified in the command
lines or other package configurations configured in the job step.
If the package is not deployed/installed, the Dtexec utility looks for the XML configurations file according to the file path defined in the Package Configurations Organizer window. In this situation, you need to either disable the package configurations
or modify the XML file path in the BIDS.
If the package is already deployed/installed, you need to modify the package as above or re-specify the install folder for the package configurations file.
Regards,
Mike Yin
If you have any feedback on our support, please click
here
Mike Yin
TechNet Community Support -
Error with Project Parameters when executing the package with dtexec command
Hi,
We have started migrating our SSIS package from 2005 version to SSIS 2012. In SSIS 2005 we were using XML configuration files and executing the packages with dtexec command from the packages folder (without deploying packages to filesystem).
Now in SSIS 2012, we have seen Project Parameters and created couple of package parameters and used those parameters in the package. when executing this package from solution explorer it was working fine but when i try to execute the same package from command
line with Dtexec command, it was showing an error message of 'Not able to map Project Prameters to configurations'.
Could you please give me an idea of how to execute the packages from command line by using dtexex command. basically i would like use project parameters in 2012 similar to configurations?
Thanks,
Venu.Refer
http://msdn.microsoft.com/en-IN/library/hh231187.aspx
you can pass parameter like this
/SET \Package.Variables[$Package::ParameterName];<value> /SET \Package.Variables[$Project::ParameterName];<value>
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to add proxy to dtexec command line to run ssis package
Hi all!
I am in badly need to your help to solve my problem
i build an ssis package to read xml data from API and load it in a local DB
and i created an ajent sql job to schedule run this package and thanks god it worked well..
BUT..
When i changed my network that i must use a proxy (**.**.***.***:8080) to connect to internet
the scheduled job didn't work !!
i guess i must add this proxy server to the DTEXEC command line that i use in my scheduled job
waiting for your help please..
ThanksDear all
really Thanks a lot .. PROBLEM SOLVED :)
i created a new credential using my windows account and then i created a new proxy account using my new credential and finally i use this proxy account in sql agent job and it works well
i guess that the problem is SQL Server Agent uses SQL
Server credentials to launch the job, not Windows
credentials .
Thanks -
Help needed extracting information from command output using sed
I want to be able to pipe the output of:
playerctl metadata
into sed and extract only the relevant information. I have a working knowledge of regular expressions but I'm not how to get sed to only output the matched text. For reference, this is an example output of the playerctl command:
{'mpris:artUrl': <'http://open.spotify.com/thumb/ddf652a13affe3346b8f65b3a92bd3abfdbf7eca'>, 'mpris:length': <uint64 290000000>, 'mpris:trackid': <'spotify:track:0xqi1uFFyefvTWy0AEQDJ7'>, 'xesam:album': <"Smokey's Haunt">, 'xesam:artist': <['Urthboy']>, 'xesam:autoRating': <0.23000000000000001>, 'xesam:contentCreated': <'2012-01-01T00:00:00'>, 'xesam:discNumber': <1>, 'xesam:title': <'On Your Shoulders'>, 'xesam:trackNumber': <6>, 'xesam:url': <'spotify:track:0xqi1uFFyefvTWy0AEQDJ7'>}%
I'm trying to get the track name and artist name and combine them into one string. Perhaps sed isn't the tool for the job but I'm not really sure what else to try. Any help is very appreciated.If that was valid json, which it doesn't appear to be, you could use jshon to query it.
Are you sure that is the exact output of the command? It looks sort of off...
In the meatime, this is pretty hacky:
awk 'BEGIN { RS=","; FS="'\''" }; /artist/ { artist = $4 }; /title/ { title = $4 } END { print artist": "title }' file
Urthboy: On Your Shoulders -
Using subprocess in python3 to get output of a command
Hi Friends. I am writing a python3 script for audacious to check the internet for album cover of the current playing song and then display it in conky. I am trying to call a command from python and get it's output:
audtool current-song-tuple-data album
but when i use this command in python like this:
subprocess.check_output(["audtool", "current-song-tuple-data album"])
i get the following error:
Unknown command "current-song-tuple-data album". Try "audtool help".
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.2/subprocess.py", line 522, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['audtool', 'current-song-tuple-data album']' returned non-zero exit status 1
Please , python experts on this forum, help me.@Pranavg1890: Please add solved to your thread title then.
BTW: I found pexpect a good option for interacting with shell commands:
http://sourceforge.net/projects/pexpect/
It provides an easy way to deal with console output and react on certain patterns. -
Sysql - use SQL queries against output of linux commands
Hello!
Many linux commands have table-like output. Sometimes it is better to analyze such output as a real table in relational database. I have published prototype of utility that parses output of one or several linux commands, saves it in database and allows to make SQL queries to that data. Program is written on python and uses sqlite database engine.
sysql at AUR
sysql at Github
Here is why I wrote it:
* No need to remember command syntax to format command output - just select necessary fields in SQL query
* No need to know sed, awk, head, join and other linux commands to manipulate with output - it's all SQLite
* Table data is stored with meaningful column name and type (int, text, float, datetime etc)
* All power of SQL can be used to query output (JOIN, WHERE, GROUP BY etc.)
* To support new command, output parser must be developed only once and then can be shared with community to make life easier
* All supported commands are kept in one place as set of python files, so it is easy to find out how to customize existing parsers or create new ones
This is my first community contribution, so kindly ask everyone to share your opinions and advices on what can be done better. Thank you!
Examples:
Display help and list of available commands:
sysql
Display output of ps command:
sysql ps
Query output of lsblk command:
sysql -q "SELECT device,uuid,filesystem FROM lsblk" lsblk
Query output of several commands:
sysql -q "SELECT ps.pid, ps.command, ps.elapsed_time, lsof.name FROM ps JOIN lsof ON ps.pid = lsof.pid WHERE name LIKE '%LISTEN%'" ps -e --- lsof -Pni4I am not sure, if I will ever use it, but I do think, this is an _amazing_ idea!
You may consider something like a global repository for output parsers accessable directly via sysql.
Last edited by myname (2013-11-24 09:16:59) -
Cannot read the output from windows command.
Hello
I have the following classes
package cmd;
import java.io.IOException;
public class CMD {
public CMD(){
ProcessBuilder pb = new ProcessBuilder()
.command("cmd.exe","/c","del *.*")
.redirectErrorStream(false);
Process p;
try {
p = pb.start();
StreamGobbler errorGobbler = new StreamGobbler(p.getErrorStream(), "ERROR");
// any output?
StreamGobbler outputGobbler = new StreamGobbler(p.getInputStream(), "OUTPUT");
// start gobblers
outputGobbler.start();
errorGobbler.start();
} catch (IOException e) {
// TODO Auto-generated catch block
System.out.println("eee "+e.getMessage());;
public static void main(String[] args) {
System.out.println("x");
new CMD();
System.out.println("x");
and
package cmd;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
public class StreamGobbler extends Thread {
InputStream is;
String type;
StreamGobbler(InputStream is, String type) {
this.is = is;
this.type = type;
@Override
public void run() {
try {
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
String line = null;
while ((line = br.readLine()) != null)
System.out.println(type + "> " + line);
catch (IOException ioe) {
ioe.printStackTrace();
Please note that I cannot seee the output from wndows command : del *.* and the java class execution does not finished.
I I will replace the above command with the dir command then the output of the command is visible.
Would you give me a hint about how to modify the above clases in order to parse the output of the del *.* ?
Please note that the above example is important because I am developping a tool and it is mandatory for that tool to parse the output from a windows batch command.
Best regards,Please note that I cannot seee the output from wndows command : del *.* and the java class execution does not finished.
I I will replace the above command with the dir command then the output of the command is visible.
Would you give me a hint about how to modify the above clases in order to parse the output of the del *.* ?
No - but I will give you a hint about ProcessBuilder and how to develop software properly.
Hint #1: Don't try to automate something that you don't know, or understand, how to do manually.
a. Do you know how to execute 'del *.*' manually in a command window?
b. Did you try that manually to see what happens?
My guess is 'no'. If you had you would know that the response to a 'del *.*' command is going to be this:
Are you sure (Y/N)?
And your 'java class execution' doesn't finish because the 'del' command is waiting for you to answer that question.
Hint #2: Don't try to use ProcessBuilder for an application that requires console input unless you first know how to provide that console input via your Java code.
Your code will wait forever since it does NOT answer that question.
Search the net and The Java Tutorials and you can find examples of executing command line utilities. Then try those examples first and make sure that:
1. They work for you
2. You understand HOW they work
Then you can modify those examples to do what you want to do. -
Report VS Excel output using XML Publisher tool (DBMS_XMLGEN)
Hi All,
Currently I am working on report generation in MRP module with Excel output using XML Publisher tool.
XML tool works based on query.
I have developed PLSQL block by using DBMS_XMLGEN – database package, to generate XML output of query.
My question is how we can put generated xml on above PLSQL block into OUT file (APPS).
Because DBMS_OUTPUT.PUT_LINE( ) has limitation, it allow 255 character string only.
But I do not know, Is FND_FILE.PUT_LINE (FND_FILE.OUTPUT,’’) allow for large data?
If it does not allow what will be the other solution in oracle application to resolve above problem.
Let me know any queries regarding to this problem.
Thanks and Regards,
Sai Krishna @cavaya.comHi Prakash,
Thanks for the reply. We did apply the one-off patch and got rid of the problem of not viewing 'Excel' output using XMLP.
Now we are looking at a different perspective:
Basically our client is looking for the following:
1. Mathematical functions in the resulting XLS (like SUM, AVG etc..) ouput
2. Use of macros if possible.
And to do this i am looking out for a sample template that gives me output in excel format I have a TAR with Oracle for this purpose, but the TAR has so far been unsuccessful in providing us with any material in the direction.
Our client remembers seeing this as a demo at the Oracle Conference this yr at San Fransisco, but does not have a sample to provide us. We are looking for such a sample.
Thx,
Nitin -
How to use Filter commands in WAD?
Hello community,
I am desperately trying to use the command wizzard in order to set a Filter to a chrarcateristic in an 7.0 web template:
I have been trying these commands so far but it simply doesnt work:
SET_SELECTION_STATE_SIMPLE
SET_SELECTION_STATE
My problem is: When I select the charcateristic which I want to Filter, I get always the Error message, that the characteristic is not a valied characteristic or structure of the Query. But this is not true, the Characteristic is in the query. I have tried for hours now but no success.
Thanks for any help or advice.
CarlHi Carl,
I had the same situation. All you have to do is to update your support package. After that it will work properly.
I have - Support Package 7, Revision 571
Regards
Erwin
Edited by: Erwin Buda on Dec 5, 2008 9:47 PM -
Preserve a single space at the end of line using spool command
Hi,
Can you please help me to write the result of an sql query into a file with the last column of the row ending with a single space?
For example:
COL1DATA|COL2DATA|COL3DATA<space1>
As mentioned in the example the col3 value in the file should end with a single space. And there should not be any delimiters at the end of the row.
I tried with set trimspool on/off. But, it didn't work. When I say trimspool on - it is trimming all the trailing spaces.
When I say trimspool off - it is retaining all the trailing spaces to the size of the line.
But, I do not wish to modify the file through shell commands once it is written thru spool. I mean I do not wish to append spaces to the end of a line using shell script or any other method.
I do not wish to use other methods like UTL_FILE also.
Please help me how to do it using spool command?
Thank you.
RamanaMy requirement is that all the trailing spaces should be truncated except the last one in the row.Why?
As you have discovered a single column in sqlplus, is always a fixed length regardless of the size of the data, if the length of the data varies the output is padded to the maximum or line size with spaces. The trim and trimpsool commands are there to remove all the spaces from the end of a line if there are any. There are no commands to trim all the spaces except one, or even to trim all the spaces except two, or three even.
If you want such custom processing you should post process the file in the OS using sed, awk or perl or something designed for such things. -
Issue while creating BPEL artifacts using BPEL command line tool
All
I am trying to create BPEL artificats for SQL server stored procedure for SQO Server 2005 using BPEL Command line tool.
My demo.properties is
ProductName=Microsoft SQL Server
DriverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
ConnectionString=jdbc:sqlserver://10.10.20.2:1433;databaseName=dAP
Username:apcdb
Password:password1
SchemaName:dev
ProcedureName:spiSOATesting
ServiceName:SQLServerSPService
DatabaseConnection:MSSQLServer
Destination:c:/temp/sqlprocedure
and I have create a batch file called as generate.bat and it contains following information
java -cp D:\jdevstudio10134\integration\lib\DBAdapter.jar;D:\jdevstudio10134\integration\lib\bpm-infra.jar;D:\jdevstudio10134\integration\lib\orabpel.jar;D:\jdevstudio10134\lib\xmlparserv2.jar;D:\jdevstudio10134\lib\xschema.jar;D:\jdevstudio10134\toplink\jlib\toplink.jar;D:\jdevstudio10134\integration\lib\connector15.jar;D:\temp\sqlprocedure\JDBC\sqljdbc.jar oracle.tip.adapter.db.sp.artifacts.GenerateArtifacts %1
and when I try to run the command at BPEL PM Developer Prompt, I am getting Procedure not found, Can one please tell, what is the cause of this error. and how does this command line tool exactly work.
Following is the output from command prompt.
D:\product\10.1.3.1\OracleAS_1\bpel\samples>D:\temp\sqlprocedure\generate.bat D:\temp\sqlprocedure\demo.properties
D:\product\10.1.3.1\OracleAS_1\bpel\samples>java -cp D:\jdevstudio10134\integration\lib\DBAdapter.jar;D:\jdevstudio10134\integration\lib\bpm-infra.jar
;D:\jdevstudio10134\integration\lib\orabpel.jar;D:\jdevstudio10134\lib\xmlparserv2.jar;D:\jdevstudio10134\lib\xschema.jar;D:\jdevstudio10134\toplink\j
lib\toplink.jar;D:\jdevstudio10134\integration\lib\connector15.jar;D:\temp\sqlprocedure\JDBC\sqljdbc.jar oracle.tip.adapter.db.sp.artifacts.GenerateArtifacts D:\temp\sqlprocedure\demo.properties
Procedure not found: dAP.spiSOATesting
Thank youHI
Pricing will be carried basing on the pricing
procedure.
Case1: Prices will be carried out automatically if
necessary condition records are maintained for the
condition type.
For this you can go to Sales Order-> Item Conditions
In the screen you can click on command button Analysis,
which gives you the list of condition types associated
to the pricing procedure. By clicking on the condition
type you can know the action that has taken place.
Case2: Manually forcing prices for Items.
To do this, you have to populate ORDER_CONDITIONS_IN &
ORDER_CONDITIONS_INX. Also note to identify the item
numbers, you manually pass the item number for each item
in the sales order, use the same item number for
populating conditions.
Parameters required:
ORDER_CONDITIONS_IN:
ITM_NUMBER, COND_TYPE, COND_VALUE, CURRENCY
ORDER_CONDITIONS_INX:
ITM_NUMBER, COND_TYPE, UPDATEFLAG, COND_VALUE,CURRENCY.
Hope the above info helps you. Do revert back if you
need more info.
Kind Regards
Eswar -
Should i update required packages separately using yum ??
Hello Experts and Everyone !
Good NOON !
@ FYI
Sorry for posting almost related my previous questions. This is similar to my previous question but
NOT a duplicate question. so please don't lock this question. This thread having different doubts.
I think , this time i did successfully installing packages using yum.
I have to install 10g r2( 10.2.0.1) on OEL 5.5.
Before installing oracle , i need some confirmation from experts because i am preparing doc for practice.
DID I FINISH SUCCESSFULLY ??
# cd /etc/yum.repos.d
# vi cd.repo
[cd]
name=CD
baseurl=file:///mnt/Server
enabled=1
gpgcheck=0
[root@oracle yum.repos.d]# yum repolist
Loaded plugins: security
repo id repo name status
cd CD enabled: 2,334
repolist: 2,334
[root@oracle yum.repos.d]# yum install kernel-headers
Loaded plugins: security
Setting up Install Process
Package kernel-headers-2.6.18-194.el5.i386 already installed and latest version Nothing to do
[root@oracle yum.repos.d] # yum install oracle-validated
Loaded plugins: security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package oracle-validated.i386 0:1.0.0-22.el5 set to be updated
--> Processing Dependency: libXp for package: oracle-validated
--> Processing Dependency: libaio-devel for package: oracle-validated
--> Processing Dependency: unixODBC for package: oracle-validated
--> Processing Dependency: unixODBC-devel for package: oracle-validated
--> Processing Dependency: compat-db for package: oracle-validated
--> Running transaction check
---> Package compat-db.i386 0:4.2.52-5.1 set to be updated
---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated
---> Package libaio-devel.i386 0:0.3.106-5 set to be updated
---> Package unixODBC.i386 0:2.2.11-7.1 set to be updated
---> Package unixODBC-devel.i386 0:2.2.11-7.1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
===============================================================================
Package Arch Version Repository Size
===============================================================================
Installing:
oracle-validated i386 1.0.0-22.el5 cd 15 k
Installing for dependencies:
compat-db i386 4.2.52-5.1 cd 1.7 M
libXp i386 1.0.0-8.1.el5 cd 22 k
libaio-devel i386 0.3.106-5 cd 12 k
unixODBC i386 2.2.11-7.1 cd 830 k
unixODBC-devel i386 2.2.11-7.1 cd 743 k
Transaction Summary
===============================================================================
Install 6 Package(s)
Upgrade 0 Package(s)
Total download size: 3.3 M
Is this ok [y/N]: y
Downloading Packages:
Total 165 MB/s | 3.3 MB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : unixODBC 1/6
Installing : unixODBC-devel 2/6
Installing : libaio-devel 3/6
Installing : libXp 4/6
Installing : compat-db 5/6
Installing : oracle-validated 6/6
Installed:
oracle-validated.i386 0:1.0.0-22.el5
Dependency Installed:
compat-db.i386 0:4.2.52-5.1 libXp.i386 0:1.0.0-8.1.el5
libaio-devel.i386 0:0.3.106-5 unixODBC.i386 0:2.2.11-7.1
unixODBC-devel.i386 0:2.2.11-7.1
Complete!
[root@oracle yum.repos.d]#
Questions:
Before going to install oracle 10g on OEL 5.5 ,
Should i update following packages separately using yum or leave it ??
Oracle 10.2 for OEL 5 32bits
binutils-2.17.50.0.6-2.el5
compat-libstdc++-33-3.2.3-61
elfutils-libelf-0.125-3.el5
elfutils-libelf-devel-0.125
gcc-4.1.1-52
gcc-c++-4.1.1-52
glibc-2.5-12
glibc-common-2.5-12
glibc-devel-2.5-12
glibc-headers-2.5-12
libaio-0.3.106
libaio-devel-0.3.106
libgcc-4.1.1-52
libstdc++-4.1.1
libstdc++-devel-4.1.1-52.e15
make-3.81-1.1
sysstat-7.0.0
unixODBC-2.2.11
unixODBC-devel-2.2.11
>> I tried to update above packages , but getting error >>
[root@oracle yum.repos.d]# yum update binutils-2.17.50.0.6-2.el5
Loaded plugins: security
Skipping security plugin, no data
Setting up Update Process
No Match for argument: binutils-2.17.50.0.6-2.el5
No package binutils-2.17.50.0.6-2.el5 available.
No Packages marked for Update
Thanks in advance ..@ Pradeepcmst
First my sorry for late reply. Still we did NOT start 10g r2 installation on OEL 5.5.
Please have a look ,if we missed anything , kindly forward it.
I have received some warning messages (when executing oracle-validated command ) and separately we did NOT use update command using yum.
Ex
# yum <package_name>
- Is this necessary before issue following command => # yum install oracle-validated.
>> What we did - I am pasting here >>
# cd /etc/yum.repos.d
# vi cd.repo
[cd]
name=CD
baseurl=file:///mnt/Server
enabled=1
gpgcheck=0
skip_if_unavailable=True
# wget http://public-yum.oracle.com/public-yum-el5.repo
--2013-10-15 13:04:22-- http://public-yum.oracle.com/public-yum-el5.repo
Resolving public-yum.oracle.com... 124.124.252.19, 124.124.252.16
Connecting to public-yum.oracle.com|124.124.252.19|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4307 (4.2K) [text/plain]
Saving to: `public-yum-el5.repo'
100%[==================================================>] 4,307 --.-K/s in 0s
2013-10-15 13:04:29 (134 MB/s) - `public-yum-el5.repo' saved [4307/4307]
[root@oel5 yum.repos.d]# yum install oracle-validated
Loaded plugins: security
el5_latest | 1.4 kB 00:00
el5_latest/primary | 14 MB 08:27
el5_latest 10433/10433
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package oracle-validated.i386 0:1.1.0-18.el5 set to be updated
--> Processing Dependency: util-linux >= 2.13-0.52.0.1.el5_4.1 for package: oracle-validated
--> Processing Dependency: irqbalance >= 2:0.55-16 for package: oracle-validated
--> Processing Dependency: kernel-uek >= 2.6.32 for package: oracle-validated
--> Processing Dependency: oraclelinux-release for package: oracle-validated
--> Processing Dependency: libaio-devel for package: oracle-validated
--> Processing Dependency: libXp for package: oracle-validated
--> Running transaction check
---> Package irqbalance.i386 2:0.55-17.el5 set to be updated
---> Package kernel-uek.i686 0:2.6.32-400.33.1.el5uek set to be updated
--> Processing Dependency: kernel-firmware = 2.6.32-400.33.1.el5uek for package: kernel-uek
--> Processing Dependency: device-mapper-multipath >= 0.4.9-23.0.1.el5 for package: kernel-uek
--> Processing Dependency: kexec-tools >= 1.102pre-96.1.1.el5_5.2 for package: kernel-uek
--> Processing Dependency: mkinitrd >= 5.1.19.6-75.0.5 for package: kernel-uek
--> Processing Dependency: ql2xxx-firmware for package: kernel-uek
---> Package libXp.i386 0:1.0.0-8.1.el5 set to be updated
---> Package libaio-devel.i386 0:0.3.106-5 set to be updated
---> Package oraclelinux-release.i386 0:5-10.0.2 set to be updated
---> Package util-linux.i386 0:2.13-0.59.0.2.el5_8 set to be updated
--> Running transaction check
---> Package device-mapper-multipath.i386 0:0.4.9-64.0.6.el5 set to be updated
--> Processing Dependency: kpartx = 0.4.9-64.0.6.el5 for package: device-mapper-multipath
--> Processing Dependency: device-mapper-multipath-libs = 0.4.9-64.0.6.el5 for package: device-mapper-multipath
--> Processing Dependency: libmpathpersist.so.0 for package: device-mapper-multipath
--> Processing Dependency: libmultipath.so for package: device-mapper-multipath
---> Package kernel-uek-firmware.noarch 0:2.6.32-400.33.1.el5uek set to be updated
---> Package kexec-tools.i386 0:2.0.3-4.0.4.el5 set to be updated
--> Processing Dependency: mkinitrd = 5.1.19.6-61.0.1 for package: libbdevid-python
---> Package mkinitrd.i386 0:5.1.19.6-81.0.2.el5_10 set to be updated
--> Processing Dependency: nash = 5.1.19.6-81.0.2.el5_10 for package: mkinitrd
--> Processing Dependency: e2fsprogs >= 1.39-36 for package: mkinitrd
--> Processing Dependency: iscsi-initiator-utils for package: mkinitrd
---> Package ql2xxx-firmware.noarch 0:1.01.01-0.5.el5 set to be updated
--> Running transaction check
---> Package device-mapper-multipath-libs.i386 0:0.4.9-64.0.6.el5 set to be updated
---> Package e2fsprogs.i386 0:1.39-36.0.1.el5_9 set to be updated
--> Processing Dependency: e2fsprogs-libs = 1.39-36.0.1.el5_9 for package: e2fsprogs
---> Package iscsi-initiator-utils.i386 0:6.2.0.872-16.0.1.el5 set to be updated
---> Package kpartx.i386 0:0.4.9-64.0.6.el5 set to be updated
---> Package libbdevid-python.i386 0:5.1.19.6-81.0.2.el5_10 set to be updated
---> Package nash.i386 0:5.1.19.6-81.0.2.el5_10 set to be updated
--> Running transaction check
--> Processing Dependency: e2fsprogs-libs = 1.39-23.el5 for package: e2fsprogs-devel
---> Package e2fsprogs-libs.i386 0:1.39-36.0.1.el5_9 set to be updated
--> Running transaction check
---> Package e2fsprogs-devel.i386 0:1.39-36.0.1.el5_9 set to be updated
--> Processing Conflict: kernel-uek conflicts udev < 095-14.27.0.1.el5_7.1
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package udev.i386 0:095-14.29.0.2.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================
Package Arch Version Repository Size
==================================================================================================================
Installing:
oracle-validated i386 1.1.0-18.el5 el5_latest 19 k
Updating:
udev i386 095-14.29.0.2.el5 el5_latest 2.4 M
Installing for dependencies:
device-mapper-multipath-libs i386 0.4.9-64.0.6.el5 el5_latest 197 k
iscsi-initiator-utils i386 6.2.0.872-16.0.1.el5 el5_latest 1.0 M
kernel-uek i686 2.6.32-400.33.1.el5uek el5_latest 24 M
kernel-uek-firmware noarch 2.6.32-400.33.1.el5uek el5_latest 3.8 M
libXp i386 1.0.0-8.1.el5 el5_latest 22 k
libaio-devel i386 0.3.106-5 el5_latest 12 k
oraclelinux-release i386 5-10.0.2 el5_latest 3.0 k
ql2xxx-firmware noarch 1.01.01-0.5.el5 el5_latest 459 k
Updating for dependencies:
device-mapper-multipath i386 0.4.9-64.0.6.el5 el5_latest 122 k
e2fsprogs i386 1.39-36.0.1.el5_9 el5_latest 832 k
e2fsprogs-devel i386 1.39-36.0.1.el5_9 el5_latest 576 k
e2fsprogs-libs i386 1.39-36.0.1.el5_9 el5_latest 120 k
irqbalance i386 2:0.55-17.el5 el5_latest 21 k
kexec-tools i386 2.0.3-4.0.4.el5 el5_latest 507 k
kpartx i386 0.4.9-64.0.6.el5 el5_latest 465 k
libbdevid-python i386 5.1.19.6-81.0.2.el5_10 el5_latest 69 k
mkinitrd i386 5.1.19.6-81.0.2.el5_10 el5_latest 488 k
nash i386 5.1.19.6-81.0.2.el5_10 el5_latest 1.4 M
util-linux i386 2.13-0.59.0.2.el5_8 el5_latest 1.9 M
Transaction Summary
==================================================================================================================
Install 9 Package(s)
Upgrade 12 Package(s)
Total download size: 38 M
Is this ok [y/N]:
Downloading Packages:
(1/21): oraclelinux-release-5-10.0.2.i386.rpm | 3.0 kB 00:00
(2/21): libaio-devel-0.3.106-5.i386.rpm | 12 kB 00:00
(3/21): oracle-validated-1.1.0-18.el5.i386.rpm | 19 kB 00:00
(4/21): irqbalance-0.55-17.el5.i386.rpm | 21 kB 00:00
(5/21): libXp-1.0.0-8.1.el5.i386.rpm | 22 kB 00:00
(6/21): libbdevid-python-5.1.19.6-81.0.2.el5_10.i386.rpm | 69 kB 00:00
(7/21): e2fsprogs-libs-1.39-36.0.1.el5_9.i386.rpm | 120 kB 00:05
(8/21): device-mapper-multipath-0.4.9-64.0.6.el5.i386.rpm | 122 kB 00:05
(9/21): device-mapper-multipath-libs-0.4.9-64.0.6.el5.i386.rpm | 197 kB 00:13
(10/21): ql2xxx-firmware-1.01.01-0.5.el5.noarch.rpm | 459 kB 00:30
(11/21): kpartx-0.4.9-64.0.6.el5.i386.rpm | 465 kB 00:39
(12/21): mkinitrd-5.1.19.6-81.0.2.el5_10.i386.rpm | 488 kB 00:26
(13/21): kexec-tools-2.0.3-4.0.4.el5.i386.rpm | 507 kB 00:14
(14/21): e2fsprogs-devel-1.39-36.0.1.el5_9.i386.rpm | 576 kB 00:16
(15/21): e2fsprogs-1.39-36.0.1.el5_9.i386.rpm | 832 kB 00:25
(16/21): iscsi-initiator-utils-6.2.0.872-16.0.1.el5.i386.rpm | 1.0 MB 00:30
(17/21): nash-5.1.19.6-81.0.2.el5_10.i386.rpm | 1.4 MB 00:42
(18/21): util-linux-2.13-0.59.0.2.el5_8.i386.rpm | 1.9 MB 02:10
(19/21): udev-095-14.29.0.2.el5.i386.rpm | 2.4 MB 02:43
(20/21): kernel-uek-firmware-2.6.32-400.33.1.el5uek.noarch.rpm | 3.8 MB 04:51
21/21): kernel-uek-2.6.32-400.33.1.el5 (97%) 96% [===========================- ] 13 kB/s | 23 MB 01:09 ETA
(21/21): kernel-uek-2.6.32-400.33.1.el5uek.i686.rpm | 24 MB 28:57
Total 15 kB/s | 38 MB 43:58
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 1e5e0159
el5_latest/gpgkey | 1.4 kB 00:00
Importing GPG key 0x1E5E0159 "Oracle OSS group (Open Source Software group) <[email protected]>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : e2fsprogs-libs 1/33
error: failed to stat /mnt/hgfs: No such file or directory
Updating : e2fsprogs 2/33
Updating : udev 3/33
Updating : util-linux 4/33
warning: /etc/pam.d/login saved as /etc/pam.d/login.rpmsave
Updating : kpartx 5/33
Installing : libXp 6/33
Updating : kexec-tools 7/33
Installing : iscsi-initiator-utils 8/33
Updating : irqbalance 9/33
Installing : device-mapper-multipath-libs 10/33
Updating : device-mapper-multipath 11/33
Installing : oraclelinux-release 12/33
Installing : ql2xxx-firmware 13/33
Updating : nash 14/33
Installing : kernel-uek-firmware 15/33
Installing : libaio-devel 16/33
Updating : e2fsprogs-devel 17/33
Updating : mkinitrd 18/33
Installing : kernel-uek 19/33
Updating : libbdevid-python 20/33
Installing : oracle-validated 21/33
Cleanup : e2fsprogs 22/33
Cleanup : mkinitrd 23/33
Cleanup : irqbalance 24/33
Cleanup : e2fsprogs-libs 25/33
Cleanup : device-mapper-multipath 26/33
Cleanup : libbdevid-python 27/33
Cleanup : udev 28/33
Cleanup : e2fsprogs-devel 29/33
Cleanup : kpartx 30/33
Cleanup : nash 31/33
Cleanup : kexec-tools 32/33
Cleanup : util-linux 33/33
Installed:
oracle-validated.i386 0:1.1.0-18.el5
Dependency Installed:
device-mapper-multipath-libs.i386 0:0.4.9-64.0.6.el5 iscsi-initiator-utils.i386 0:6.2.0.872-16.0.1.el5
kernel-uek.i686 0:2.6.32-400.33.1.el5uek kernel-uek-firmware.noarch 0:2.6.32-400.33.1.el5uek
libXp.i386 0:1.0.0-8.1.el5 libaio-devel.i386 0:0.3.106-5
oraclelinux-release.i386 0:5-10.0.2 ql2xxx-firmware.noarch 0:1.01.01-0.5.el5
Updated:
udev.i386 0:095-14.29.0.2.el5
Dependency Updated:
device-mapper-multipath.i386 0:0.4.9-64.0.6.el5 e2fsprogs.i386 0:1.39-36.0.1.el5_9
e2fsprogs-devel.i386 0:1.39-36.0.1.el5_9 e2fsprogs-libs.i386 0:1.39-36.0.1.el5_9
irqbalance.i386 2:0.55-17.el5 kexec-tools.i386 0:2.0.3-4.0.4.el5
kpartx.i386 0:0.4.9-64.0.6.el5 libbdevid-python.i386 0:5.1.19.6-81.0.2.el5_10
mkinitrd.i386 0:5.1.19.6-81.0.2.el5_10 nash.i386 0:5.1.19.6-81.0.2.el5_10
util-linux.i386 0:2.13-0.59.0.2.el5_8
Complete!
[root@oel5 yum.repos.d]#
[root@oel5 yum.repos.d]# rpm -qa |grep oracle-valid
oracle-validated-1.1.0-18.el5
Thnaks .. -
Error in reading core on Solaris 2.8 using pstack command
We are unable to read core file on Solaris 2.8 using pstack command. We are getting warning that librtld_db failed to initialize; symbols from shared libraries will not be available.
Man page of pstack says that such error can occur if a core file from one operating system release is examined on a different operating system release.
But we are trying to read the core on the same machine on which it occurred.
Does any one know what could be reason and what are the alternative to read core in such situation?Dear Gopinath,
Thanks for the response.
The problem occurred again.
In fact now it is repeatable.
We have not installed any Solaris patches after original OS installation. We have checked the core using pstack immediately after it was dumped.
We have tried reading it using dbx but it is also giving same error.
Here is the output of dbx
dbx: could not initialize rtld_db.so -- verify that corefile was generated on a compatible machine
Note: We compile our program on Solaris 2.6 as 32 bit and then install it on Solatis 2.8.
We have tried reading the core using dbx on both Solaris 2.6 as well as Solaris 2.8.
We know that this must be problem in our program (some memory violation) and has nothing to do with 2.8 or 2.6.
But inability to analyze core is happering the debugging.
Thanks
Dhananjay -
How to find memory taken by a process using top command
I wanted to know how to find the memory taken by a process using top command. The output of the top command is as follows as an example:
Mem: 13333364k total, 13238904k used, 94460k free, 623640k buffers
Swap: 25165816k total, 112k used, 25165704k free, 4572904k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
16514 applmgr 25 0 2197m 1.7g 10m S 0.3 13.0 15:20.67 java
30692 crestelo 22 0 2901m 1.4g 9284 S 0.0 11.0 3:03.68 java
30431 crestelo 25 0 2043m 1.4g 161m S 50.9 11.0 79:02.73 java
30869 crestelo 25 0 2860m 1.2g 9292 S 0.0 9.6 7:11.18 java
16655 applmgr 23 0 1934m 1.1g 10m S 0.3 8.9 2:17.49 java
16319 crestelo 19 0 1541m 299m 44m S 0.0 2.3 2:52.11 java
I hope, my question is clear as to how to find the memory taken by a process using top command.
Please revert with the reply to my query.
RegardsHave you tried "man top" to see the documentation for the top command?
How about the following: http://lmgtfy.com/?q=show+memory+with+top+command
The 5th column (VIRT) shows the amount of RAM + swap
The 6th column (RES) shows RAM
The 7th column (SHR) shows memory shared between processes
Maybe you are looking for
-
How to create a PAR file from EAR file
Hi, I have created an Web Dynpro Application . When i deploy it in Remote J2EE Engine, it will deploy as EAR file. It then runs as normal Web Application in Web browser. My requirement is to create an iView for my Web dynpro appn in EP. That is po
-
Hello. I have recently purchased a HP ENVY 15T. I came equipped with NVIDIA GeForce GTX 850M video card with 4 GB of memory. The recommended the resolution is 1920 x 1080, but the was hurting my eyes. So, I downgraded it to 1600 x 900. Most windows a
-
Photoshop Elements 5 just stopped working and will not open my catalogue.
I have Photoshop Elements 5 running on Vista 64 bit. It was working fine, but just stopped working out of the clear blue outside of regular Microsoft patches. The intro screen opens but when I click on Organize my photos it starts to open the next w
-
Final cut X - Print to Video???
Hi guys I need help with Print to Video function in Final cut X. Most of a time I'm editing in FCP7, but problem is that FCP7 crash/freeze while record/print video (DVCPRO HD) to P2 recorder (Panasonic AG-HPG10 or 20). I have installed Os 10.10.3, bu
-
REceiving error - system extension missing / cannot be used
Hello, Posting here because I see this error frequently when doing updates. I received and performed a system update for iTunes yesterday and received the following twice: System extension cannot be used The system extension "/System/Library/Extensio