How to find difference of files between 2 checkpoints in a virtual machine
hi ,
i had 2 checkpoint . certain fucntionality works in one and not in other checkpoint .
Same files are copied to 2 checkpoints .
IIS webserver /.net framework i guess might be corrupted . how do we find the difference in files between 2 checkpoints .
Checkpoints are binary differences between two states of the VM thus there's no concept of change as it relates to file level or configuration level changes to track and I can't imagine really trying to find a difference between the two in this way.
If this relates to creating a base/reference OS image, it's just another reason to use a build and caputre task sequence so that you always have a freshly built and clean image that is easily recreated.
Jason | http://blog.configmgrftw.com | @jasonsandys
Similar Messages
-
How to find difference in amount between two fields in two different tables
Hi,
I am new to PL/SQL. I need to write a procedure to calculate the difference between two columns of two seperate tables. For example:
I have Table a and Table b. Both with two columns Id and Amount. I need to find the difference of Amount between table a and table b value for each record in table b, store it in variable and then do further operations using that difference. Kindly help me with this.Something like this?
INSERT INTO table_c (id, diff, p_or_n)
SELECT
a.a_id,
a.a_value - b.b_value
DECODE( SIGN(a.a_value - b.b_value),
1 , 'P',
0 , 'P',
-1, 'N'
FROM table_a a JOIN table_b b
ON (a.a_id = b.b_id);
-- Ranit -
Hi,
In selection screen (parameter) user will give input TXT file from presentation server to upload to SAP. I need to capture the file name only but not the path and need to concatenate with date stamp and need to download error log in XLS file to presentation server.
How to find out the file name from selection screen?
I searched SCN threads but not found relavant solution.
Thanks,
R KumarHi
This code gets only filename from selection screen :
REPORT x.
PARAMETERS p_file(100).
DATA : gv_full_path LIKE ibipparms-path,
gv_full_path_string TYPE string,
gv_filename(100),
gv_file_ext(3).
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Ask user to select file with a popup :
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = gv_full_path.
Get filename from path :
gv_full_path_string = gv_full_path.
CALL FUNCTION 'CH_SPLIT_FILENAME'
EXPORTING
complete_filename = gv_full_path_string
IMPORTING
extension = gv_file_ext
name = gv_filename.
CONCATENATE gv_filename '.' gv_file_ext INTO gv_filename.
p_file = gv_filename.
I hope it helps. -
How to find number of files in a folder using pl/sql
please someone guide as to how to find number of files in a folder using pl/sql
RegardsThe Java option works well.
-- results table that will contain a file list result
create global temporary table directory_list
directory varchar2(1000),
filename varchar2(1000)
on commit preserve rows
-- allowing public access to this temp table
grant select, update, insert, delete on directory_list to public;
create or replace public synonym directory_list for directory_list;
-- creating the java proc that does the file listing
create or replace and compile java source named "ListFiles" as
import java.io.*;
import java.sql.*;
public class ListFiles
public static void getList(String directory, String filter)
throws SQLException
File path = new File( directory );
final String ExpressionFilter = filter;
FilenameFilter fileFilter = new FilenameFilter() {
public boolean accept(File dir, String name) {
if(name.equalsIgnoreCase(ExpressionFilter))
return true;
if(name.matches("." + ExpressionFilter))
return true;
return false;
String[] list = path.list(fileFilter);
String element;
for(int i = 0; i < list.length; i++)
element = list;
#sql {
insert
into directory_list
( directory, filename )
values
( :directory, :element )
-- creating the PL/SQL wrapper for the java proc
create or replace procedure ListFiles( cDirectory in varchar2, cFilter in varchar2 )
as language java
name 'ListFiles.getList( java.lang.String, java.lang.String )';
-- punching a hole in the Java VM that allows access to the server's file
-- systems from inside the Oracle JVM (these also allows executing command
-- line and external programs)
-- NOTE: this hole MUST be secured using proper Oracle security (e.g. AUTHID
-- DEFINER PL/SQL code that is trusted)
declare
SCHEMA varchar2(30) := USER;
begin
dbms_java.grant_permission(
SCHEMA,
'SYS:java.io.FilePermission',
'<<ALL FILES>>',
'execute, read, write, delete'
dbms_java.grant_permission(
SCHEMA,
'SYS:java.lang.RuntimePermission',
'writeFileDescriptor',
dbms_java.grant_permission(
SCHEMA,
'SYS:java.lang.RuntimePermission',
'readFileDescriptor',
commit;
end;
To use:
SQL> exec ListFiles('/tmp', '*.log' );
PL/SQL procedure successfully completed.
SQL> select * from directory_list;
DIRECTORY FILENAME
/tmp X11_newfonts.log
/tmp ipv6agt.crashlog
/tmp dtappint.log
/tmp Core.sd-log
/tmp core_intg.sd-log
/tmp da.sd-log
/tmp dhcpclient.log
/tmp oracle8.sd-log
/tmp cc.sd-log
/tmp oms.log
/tmp OmniBack.sd-log
/tmp DPISInstall.sd-log
12 rows selected.
SQL> -
How to find PG.xml file name and path associated with a FUNCTION
Hi,
I am having a function:IRC_VIS_HOME_PAGE with Web HTML value as below:
OA.jsp?akRegionCode=IRC_VIS_HOME_PAGE&akRegionApplicationId=800&OAPB=IRC_BRAND
How to find PG.xml file name and path assoicated with above funtion.
Thanks,
ashokAshok,
Function IRC_VIS_HOME_PAGE will have 2 parameter defined for it which are OASF and OAHP where
OASF=<SelectedFunctionName> - this tells the Framework to select this function in the given "Home Page" menu context.
OAHP=<HomePageMenuName> - this is used ONLY with the OASF parameter, and it is used to establish the current menu context. It should point to a "Home Page" menu.
--Shiv -
How to find out average files i am getting every day in a month?
How to find out average files I am getting every day in a month?
Do you mean average count of files received?
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
Newbie: How To find Core Dump files on Unix?! URGENT!
Hi, i would like to know on How To find Core Dump files on Unix?!
I know they should be found in /usr/sap/<SYSTEM-ID>/<INSTANZ>/work
but there are no "core" files and also in tmp is nothing unusual but disk space is totally full.
So how to find the big files which i could delete to make system running again?!
can someone provide me with some infos?!
br1. which user i should use to search and destroy?! root-user or SYSID-User?!
Always use the user with the least permissions to do the job, don't use root if your sidadm can do it. If you want to find / delete SAP files use sidadm.
2. I found no core files and the harddisk is still 100% full, what files might also cause this problem
In your first post you wrote that /usr/sap/SID/INST/work dir is full, it is most likely that some trace files got to large. Check for files like dev_*, dew_w0 for example is the trace file of work process 0, dev_disp is the trace of the dispatcher and so on. You either have to increase the size of the filesystem, or find the cause for the growing file. It can be due to an increased trace level.
3. What on database-side could cause this problems?! can i search for sth here.
This does not look like a database issue so far.
4. i was unable to use the given scripts (noob!), what can i do else?!
Which one, please post what you typed and the error you got.
Best regards, Michael -
How to find the downloaded file. its not in the "downloads".
how to find the downloaded file?
Open Finder, and type "Today" in the search area in the upper right of Finder's window.
Then click "Today" under "Dates" in the resulting drop-down menu. -
I haven't had the opportunity to implement a SQL Server Failover Cluster Instance (FCI) for over 10 years and that was done with two physical, identical database servers way back in the day of Windows Server 2003 and SQL Server 2000 (old school).
Can a SQL Server 2008 R2 Failover Cluster Instance (FCI) be implemented between two Hyper-V hosted virtual machines? The environment in question already has Windows Server 2012 R2 Hyper-V hosts in place, so I'm just looking to see if this is even
possible and/or supported when utilizing virtual machines.
The client in question is currently using SQL Server 2008 R2 instances running on Win2008R2, Win2012, and Win2012R2, but I'd also be interested how this can be done or not with SQL Server 2012 or 2014 as well. Thanks in advance.
Bill ThackerYes, it can be done with Hyper-V guests. In fact, with Windows Server 2012 R2 Hyper-V, guests can use the Shared VHDX feature for shared storage used by Windows clusters. The guests can run Windows Server 2008 and higher provided that the Hyper-V Integration
Services are installed to support Shared VHDX. The only challenge here is making the Hyper-V hosts highly available as well, running it on WSFC.
Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
Blog |
Twitter | LinkedIn
SQL Server High Availability and Disaster Recover Deep Dive Course -
How to find discoverer log files and CPU usage
Hi,
i have a report running very slow in prod. but runs fast in dev and qa.
**Where/how can i find the Log files generated after the report runs?**
**Also i wanted to see how i can find the CPU Usage**
i searched online for CPU usage... and found this --> ""For the CPU usage of these servlets, please navigate to the Discoverer application page from the OC4J_BI_Forms home page in the EM standalone console.""
can anyone tell me how to navigate to OC4J_BI_Forms home page in the EM standalone console?
Thanks!
gayatriHi gayathri,
This link would help i suppose
http://docs.huihoo.com/oracle/docs/B14099_19/bi.1012/b13918/maint.htm#i1025807
and http://docs.huihoo.com/oracle/docs/B14099_19/bi.1012/b13918/tshoot.htm#CHDHFJDE
Be careful,if not done without prior knowledge it would mess up.So mostly this job should be done by DBA of your company.They can log in as sysadministrator to get to "Enterprise Manager" and do as per the link
Best Wishes,
Kranthi. -
How to find a specific file ? OR, Zen not finding virtual XP in Win7
1. there's an option in zen10 to check for systems with virtual
machines, though we end up with zero hits even though we DO have
approx 20 PC's with virtual XP mode running on Win7/64
2. So,,second option would be to FIND any machines that DO have this
file; vmwindow.exe
But,, I just can't make out how/were to make this "custom" search.....Man,, is it zenworks that's (again) trying to get me ..??
Ok,, just tested the option to do a inventory scan, full scan for
software files....BUT,, the file I want Zenworks to recoqnize;
vmwindow.exe, simply doesn't show up ..??
It's not exluded as far as I can tell from the inventory defintion's,
still, it's just not there when checking the report.
I know the file is there, I can see it both through explorer and
through a command prompt....
(vmwindow.exe = virtual XP in Win7) -
How to find a dump file is taken using norma exp or expdp
Hi All,
How to find out whether a dump file is taken using the conventional exp or using the expdp utility?
OS: HPUX
DB: 10.2.0.4Hi ,
I go with Helios's reply. We cannot just predict if it was taken my expdp or exp.
Since your DB version is 10 , both could be possible.
The simplest way would be : just run the imp , if it throws error , then its created through expdp.
because dump from expdp cannot be used with imp and vice versa. So that could help you find..
else , try to get the syntax by which the dump was created.
If you have any doubts , wait for experts to reply.
HTH
Kk -
How to find the jsp file in iSupplier Portal
Hi,
I need to change a jsp page from Oracle iSupplier Portal, I got the url but I can't find the jsp file of that URL, how can I find that file?
http://sboglx11.alpina.co:8040/OA_HTML/OA.jsp?callType=W&_ri=177&_rc=POSINQUIRIESPL&flowApplicationId=177&flowCode=POS_SUPPLIER_INQUIRIES&pageApplicationId=177&pageCode=POS_AP_INVOICE_DTL_D&whereRegionCode=POS_AP_INVOICE_DTL_D&addBreadCrumb=Y&WPARAMSINVOICE_ID=526856&_ti=1715476161&oapc=7&oas=MtxL7MgOdHAuyU8-iC7c8Q..
Thanx,
Ivan Loaiza.Hi,
I have a custom request to add a new table on the page of that url from a custom query. I tried to make changes activating the FND_CUSTOM_OA_DEFINTION's profile, and enter to the 'Personalize Page' link, but on this opcion I couldn't find the way to enter a new query. Now I try to customized directy the jsp file and add a new table on that region asociated with custom query.
I also try with the AK Developer responsability but I got the following error when I try to open the page "No data found for region (/oracle/apps/pos/regionMap/POS_CUSTOM_IMP)" where "POS_CUSTOM_IMP" is a new region that I created with the AK Developer responsability.
Thanx,
Ivan Loaiza -
How to drag and drop files between two JFileChooser
Sir i want to drag and drop files between two JFileChooser i don't know how to do that. So is there any reference code for that so that i can able to do it. I have enabled setDragEnabled(true) for both the jfilechooser now i don't now how to drop files in them means drag file from one jfilechooser and drop it to another JFileChooser,.
Plz help me this is the requirement in my project.Note: This thread was originally posted in the [New To Java|http://forums.sun.com/forum.jspa?forumID=54] forum, but moved to this forum for closer topic alignment.
-
How to find the largest files?
My question is how to find the big(lets say over 500Mb) files under the root and list them.
This is my desktop and when I tried "du / | sort -k 1n " it didnt finish.
Best regards,
TongucThank you for your interest Mr.Kartik.
[root@tcellhost /]# find / -size +500M
find: invalid -size type `M'
[root@tcellhost /]# find / -size +500m
find: invalid -size type `m'
[root@tcellhost /]# find / -size +500000
/u01/app/oracle/flash_recovery_area/TCELL/backupset/2007_04_12/o1_mf_nnndf_TAG20070412T091708_31vmq4z4_.bkp
/u01/app/oracle/flash_recovery_area/TCELL/backupset/2007_04_12/o1_mf_nnndf_TAG20070412T091708_31vmq5xr_.bkp
/u01/app/oracle/oradata/tcell/users01.dbf
/u01/app/oracle/oradata/tcell/system01.dbf
/u01/app/oracle/oradata/tcell/undotbs01.dbf
/u01/app/oracle/oradata/tcell/sysaux01.dbf
/proc/kcore
find: /proc/31477/task/31477/fd/4: No such file or directory
/oracle/10201_database_linux32.zip
/oracle/GridControl_10.2.0.3_Linux.zip
/oracle/10201_companion_linux32.zip
How can I execute a list command for the resturning file set?
[root@tcellhost /]# find / -size +500000 -exec ls -lt {};
find: missing argument to `-exec'
Best regards,
Tonguc
Maybe you are looking for
-
How can I embed files of word, excel, and pdf format in a pdf document
I have a word document of the product, which I am updating for next product release. However, there are some excel, word, and pdf files embedded within a word document. When I double click these embedded files in word, these files open in a new windo
-
What is Windows Explorer in Windows 8.1?
I am sorry for this rudimentary question. I am not a novice user, but have been using Windows for over two decades. I used to think Windows Explorer was File Explorer, but sometimes it still has very high CPU usage after all File Explorer windows a
-
To active Text Formatting function and more tool bars in Adobe LiveCycle Designer 11
I have an original PDF form need to be edited to a fillable form, I can add Text Field into form as a fillable text field into this PDF form in the Design View, however I can not edit any of the text , table and several other Objects. I am an autho
-
What's the difference between the Standard Edition and Enterprise Edition? Any advantages or disadvantages? I just wanna know which one I should download. Tnx!
-
How do I fill the unused space?
Hi there, I have an issue whereby I can not get the screen to use the unused space on the side of my presenter area. I have a big gray empty section on the right hand side and this makes my charts too small in the middle. Can any one tell