How to export Sampling info in Netflow V5 Export Packet
HI,
Can you please share with me commands to configure Random Sampled Netflow and then export it in V5 format. Where in V5 export packet sampling information gets exported ?
Thanks a lot.
Regards,
Deepak
So I've done a bit more research and experimenting. I've found a good way to export environment variables using systemctl so that they are available to systemd spawned processes, but not to me as a user on the command line (or via cron).
# http://comments.gmane.org/gmane.comp.sysutils.systemd.devel/8995
[Unit]
Description=Gnome Keyring Daemon
Requires=dbus.socket
[Service]
Type=oneshot
ExecStart=/bin/sh -c "for env in $( /usr/bin/gnome-keyring-daemon --start --components=gpg,pks11,secrets,ssh ); do /usr/bin/systemctl --user set-environment $env; done"
ExecStop=/bin/sh -c "for env in GNOME_KEYRING_PID GNOME_KEYRING_CONTROL SSH_AUTH_SOCK GPG_AGENT_INFO; do /usr/bin/systemctl --no-block --user unset-environment $env; done"
RemainAfterExit=yes
[Install]
WantedBy=mystuff.target
After that, I can see the desired environmental variables in systemctl --user show-environment, but they don't show up in my shell when I printenv.
Last edited by Morrad (2013-05-16 05:57:32)
Similar Messages
-
How to export some data from the tables of an owner with integrity?
Hi to all,
How to export some data from the tables of an owner with integrity?
I want to bring some data from all tables in a single owner of the production database for development environment.
My initial requirements are: seeking information on company code (emp), contract status (status) and / or effective date of contract settlement (dt_liq_efetiva) - a small amount of data to developers.
These three fields are present in the main system table (the table of contracts). Then I thought about ...
- create a temporary table from the query results table to contract;
- and then use this temporary table as a reference to fetch the data in other tables of the owner while maintaining integrity. But how? I have not found the answer, because: what to do when not there is the possibility of a join between the contract and any other table?
I am considering the possibility of consulting the names of tables, foreign keys and columns above, and create dynamic SQL. Conceptually, something like:
select r.constraint_name "FK name",
r.table_name "FK table",
r.column_name "FK column",
up.constraint_name "Referencing name",
up.table_name "Referencing table",
up.column_name "Referencing column"
from all_cons_columns up
join all_cons_columns r
using (owner, position), (select r.owner,
r.constraint_name fk,
r.table_name table_fk,
r.r_constraint_name r,
up.table_name table_r
from all_constraints up, all_constraints r
where r.r_owner = up.owner
and r.r_constraint_name = up.constraint_name
and up.constraint_type in ('P', 'U')
and r.constraint_type = 'R'
and r.owner = 'OWNERNAME') aux
where r.constraint_name = aux.fk
and r.table_name = aux.table_fk
and up.constraint_name = aux.r
and up.table_name = aux.table_r;
-- + Dynamic SQL
If anyone has any suggestions and / or reuse code to me thank you very much!
After resolving this standoff intend to mount the inserts in utl_file by a table and create another program to read and play in the development environment.
Thinking...
Let's Share!
My thanks in advance,
PhilipsThanks, Peter.
Well, I am working with release 9.2.0.8.0. But the planning is migrate to 10g this year. So my questions are:
With Data Pump can export data just from tables owned for me (SCHEMAS = MYOWNER) parameterizing the volume of data (SAMPLE) and filters to table (QUERY), right? But parameterizing a contract table QUERY = "WHERE status NOT IN (2,6) ORDER BY contract ":
1º- the Data Pump automatically searches for related data in other tables in the owner? ex. parcel table has X records related (fk) with Y contracts not in (2,6): X * SAMPLE records will be randomly exported?
2º- for the tables without relation (fk) and which are within the owner (MYOWNER) the data is exported only based on the parameter SAMPLE?
Once again, thank you,
Philips
Reading Oracle Docs... -
How to Export UYVY 4:2:2 8-bit Uncompressed AVI?
I've been doing a lot of testing in Premiere Pro CS5 (on Windows) but cannot figure out how to export video to a generic 4:2:2 8-bit uncompressed AVI file. Here's some background - I've captured some video to an uncompressed Matrox AVI file (via an MXO2 I/O Device). Now I've done some simple cutting and need to get the video off Premiere's timeline (and into another yet-to-be-determined multimedia application). I don't want to lose any quality - hence my requirement for 4:2:2 uncompressed AVI. Also, the file needs to be a standard/generic AVI that doesn't require any special CODECs installed.
In Premiere's File > Export > Media window, there seems to be 2 ways of getting uncompressed 4:2:2 AVIs:
Option 1:
Format: Uncompressed Microsoft AVI
Video Codec: UYVY
Quality: 100
Width: 720
Height: 576
Frame Rate: 25
Field Type: Upper First
Aspect: PAL (1.0940)
Audio Codec: Uncompressed
Sample Rate: 48000 Hz
Channels: Stereo
Sample Type: 16 bit
Option 2:
Format: Microsoft AVI
Video Codec: Uncompressed UYVY 422 8bit
Quality: (Greyed out at 100)
Width: 720
Height: 576
Frame Rate: 25
Field Type: Upper First
Aspect: PAL (1.0940)
Audio Codec: Uncompressed
Sample Rate: 48000 Hz
Channels: Stereo
Sample Type: 16 bit
Audio Interleave: 0
Option 1 is great except that the audio codec detected is "0xfffe extensible wave format" (according to GSpot). I can play the video on practically any machine including something as old as Windows Media Player 9 running on Windows 2000! The audio plays back fine as well in Windows Media Player. However, audio does not play (not detected correctly) in VLC media player, or in Sony Vegas-type software. FYI, the video codec detected (by GSpot) is "UYVY (packed 4:2:2)".
Option 2, on the other hand, is quite the contrary. The video does not play in any version of Windows Media Player (regardless of operating system), but the audio plays fine though. The audio codec detected (according to GSpot) is the standard "PCM audio" format and the video codec is again "UYVY (packed 4:2:2)". In VLC media player, both the video and audio play fine. But in other editing software such as Edius, the video is not detected and only the audio is loaded onto the timeline.
What I would like is a generic 4:2:2 uncompressed AVI file which has audio that works in anything. Is there some setting/parameter that I have missed? Can I customise Option 1 with "PCM audio" rather than "0xfffe extensible wave format"? I want to avoid "Video Codec: None" if at all possible given that the file size will be significantly larger for absolutely no quality gain (I presume this is uncompressed 4:4:4?).
Any suggestions would be most welcome.Hi Jim, I too am confused!
Why should the video codec for Option 1 be V210? Isn't this reserved for 10-bit video?
http://www.fourcc.org/yuv.php#V210
http://help.adobe.com/en_US/premierepro/cs/using/WS398C372B-B748-4ef6-BA0D-396D2E360707.ht ml
I would have thought that the UYVY option was the correct choice for 8-bit video.
http://www.fourcc.org/yuv.php#UYVY
Videos exported using Option 2 definately do not play correctly in Windows Media Player - I get no video, just audio. I have tried many different computers running different versions of Windows and Windows Media Player. I'm running Premiere CS5 v5.03 if that makes any difference.
I don't understand why videos from Option 1 play fine in Windows Media Player even though the systems don't have AJA hardware installed (or any video I/O device) - they are just plain vanilla office PCs -
Hi guys,
Can i please technically know how to export an .aspx file (in Site Pages library of a team site) to local file?
Basically, SharePoint Designer has this feature "Export File"
i Need exactly the same feature that can be done in Powershell
I tried the following
$web = get-spweb "MY URL"
$folder = $web.GetFolder("SitePages")
$files = $folder.files
#trying to download the first file
[System.IO.File]::WriteAllBytes("C:\\LocalPath",$files[0].OpenRead(),$true)
The file exported via this method is Clean HTML without the Web Part Customisation!
I NEED the web part customisation in the exported files.
Sample downloaded via above script
<!-- Cropping -->
<tr>
<td id="_invisibleIfEmpty" name="_invisibleIfEmpty" valign="top" height="100%"> <WebPartPages:WebPartZone runat="server" Title="loc:LeftColumn" ID="LeftColumn" FrameType="TitleBarOnly"/> </td>
<td id="_invisibleIfEmpty" name="_invisibleIfEmpty" valign="top" height="100%"> <WebPartPages:WebPartZone runat="server" Title="loc:MiddleColumn" ID="MiddleColumn" FrameType="TitleBarOnly"/> </td>
<td id="_invisibleIfEmpty" name="_invisibleIfEmpty" valign="top" height="100%"> <WebPartPages:WebPartZone runat="server" Title="loc:RightColumn" ID="RightColumn" FrameType="TitleBarOnly"/> </td>
</tr>
<!-- Cropping -->
I tried using WebRequest, it returns the End HTML, which is not working too.
Please if anyone has done this? Or is there any SharePoint Designer Developer here and is willing to share how to perform the export in SharePoint Designer via Powershell? API available?
Much Appreciated!
ChengHi,
According to your post, my understanding is that you wanted to export Team Site Site Pages to .aspx and for subsequent uploaded to other Team Site and Web Part Customisation included using Powershell.
You can export a specific file or object from the Export-SPWeb context.
Export-SPWeb -identity "http://sharepoint" -ItemUrl "/default.aspx" -Path "c:\default.aspx"
Import-SPWeb -identity "http://sharepoint" -Path "C:\default.aspx"
Here is a similar thread for you to take a look at:
http://sharepoint.stackexchange.com/questions/56664/how-to-download-a-sharepoint-aspx-page-from-server-using-powershell
More information:
http://technet.microsoft.com/en-us/library/ee428301(v=office.14).aspx
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How to export spool file into HTML file
Hi,
I have one Oracle procedure which meets our business requirement. I am keeping the output data into a log file and I am sharing that log file to the users.
Sample Code:
spool path\logile.log
declare
begin
dbms_output.Put_line('output will come here');
end;
Now I want to spool the same output data into a HTML file and need to share with the users.
Can any one please guide me, how to export our spool data into HTML format?
Thanks in advance.Hello 909127,
welcome to the forum.
This is the forum for the tool Oracle Reports, not a general forum for reporting. Your question might be better posted in {forum:id=75} or {forum:id=144}.
Nevertheless you need to give us more information, how your output looks like now and what you expect in HTML.
Regards
Marcus -
How to maintain trend info on CITADEL SQL Query
Hi All,
I'm using ms excel via ODBC connection to extract data from CITADEL via SQL queries. In LabVIEW DSC Module there are an option in the function "Read Historical Traces" thats maintain trend info of tag if no data is recorded in the selection time.
When i try to get CITADEL data via SQL if no data is recorded in that period the result is a blank column. How to maintain trend info or in this case?Good afternoon, Bruno
Follow this link, please verify readiness if the procedure is correct if the problem persists please contact us.
Citadel Database Querying and Exporting Data to Excel
http://zone.ni.com/devzone/cda/epd/p/id/2001
Overview of Citadel Historical Database Archiving Methods
http://zone.ni.com/devzone/cda/tut/p/id/3751
Accessing Citadel 4 Data with Microsoft Excel
http://zone.ni.com/devzone/cda/tut/p/id/3813
Can I Change the Default Timeout for the Read Historical Trend (s) in DSC VI?
http://digital.ni.com/public.nsf/allkb/513C871B883E34A386256D040071C97F?OpenDocument
Sincerely,
Mauro Vera
Mauro Vera
Applications Engineer
National Instruments -
Hello
How to export database in one line query in command Prompt. Again i explain Single Line Query. I have some Problem in it.
ThanksHi
It comes bundled with 10g DB Software so when you install your DB software it is automatically installed and available to you.
Follow this link to get more info on EXPDP
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14215/dp_overview.htm
Cheers -
How to export image data into XDP
Hi, All
I'm working on a healthcare project that needs to export the doctor's signature image into XDP file from the database to fill in the Insurance company claim form. My question is how to export image data into a field node in the XDP file, we know the name of the image field which defined in the PDF form, Is it something like:
the signature image data ?
Should the image data in this node be base64 encoded or text encoded or something else?
Can the image be any kind? e.g. BMP, PNG, JPEG, ..., etc?
Thanks
WilliamHi Andre,
Document will be of ASCII characters right?? but image data will be in binary format. as per database concept it is stored as binary large object. But in datawarehousing the back end is also going to be some database such as Oracle or other DBs.
which can take blob's. so it would be possible to store the binary data.
If any one has faced this situation can reply.to this ques.
can post the step to load image(jpg/bmp or any image format) data in to info cube??
hi andre if u have done loading image data as you say.pls reply me if you have the steps with you.
thanks Andre -
ST03 Export: How to export all instances and task types?
I am exporting ST03 data using SAP GUI
I can export data for a single task type and a single instance.Is there a way I can export the Time Profile data for all instances and all task types in a single export? Can I do a single export rather than NxM exports?
Also, when I export to a text file, there is a header that reports the instance, data, and task type. When I export to excel file I only get the table, not the header info. Is there a way to to get the header info into the excel export?
Is this the appropriate forum for these questions?
Any help is appreciated.
Thanks.
TimI moved this question to an ABAP forum. Here's the [thread|ST03 Export: How to export all instances and task types?;.
Tim -
How to export BIAR from reports?
Hello,everyone!
I want to migrate the reports form my local BO server to another BO server,My ideas are:
First,I export my local BO reports to BIAR file format.
Second,use import wizard import the BIAR file into another BO server.
But,I can't know how to create the BIAR file or how to export the BIAR format.Please tell me list the step it.Thanks!
And please tell me the idea's right?
Thanks!
janeHere are the steps to create .biar file using command line:
The biarengine.jar should be used to import or export a BIAR from command line. You can also use Import wizard.
1. Create a "properties" file as follows specifying CMS logon credentials, BIAR file path and additional details.
A sample properties file is as follows:
#This file imports a biar, note this line is a commentimportBiarLocation=C:/CR#Where the file to be imported is location at c:\CR.biarbiaraction=importXMLuserName=Administratorpassword=CMS=vanmsung01:6400authentication=secEnterprise
2. Here are different attributes that can be used in properties file.
CMS : CMS nameuserName : administratorexportQuerypassword : admin passwordauthentication : secEnterpriseaction : exportXML or importXMLexportBiarLocation : absolute path separated by "/"importBiarLocation : absolute path separated by "/"exportDependencies : True or FalseincludeSecurity : True or FalseexportQuery : Query to retrieve objects to be exported. e.g. select * from ci_Infoobjects where si_name ='Xtreme Employees' and si_kind = 'Webi'exportQueriesTotal : Number greater than 0. It tells the tool how many queries you want to execute.
3. Add <Java install Directory>\bin to Path system variable.
4. Open a command line window and go to Business Objects\common\4.0\java\lib
5. Execute biarengine.jar using a command as follows:
java -jar biarengine.jar <properties file path>
6. Either the BIAR file will be imported or exported depending upon the properties file.
See Also
Business Objects Enterprise XI 3.1 Administrator Guide
Thanks and Regards
Sukanya -
How to export and import from AIX to solaris a whole schema with different
how to export and import from AIX to solaris a whole schema with different character set
import done in US7ASCII character set and AL16UTF16 NCHAR character set
import server uses WE8ISO8859P1 character set (possible charset conversion)
Import terminated successfully with warnings.The conversion between the character sets on the two servers are handled automatically. Export from one server will export the data given the character set defined on that server. Import into another server will import the data given the character set defined on that server, performing a conversion if necessary. This can be a problem when going from single-byte to a multi-byte character set. In your case, the warning is simply for your information, shoule be no real problem given the character sets you're using.
For more info...check out (pertains to 9i):
Export
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1006791
Character Ste Migration
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96529/ch10.htm#1656
HTH -
How to Export from table view to Excel (not BI query)?
There is a 'How to' document explaining how to export from an iView using a BI query:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/47fe4fef-0d01-0010-6f87-ed8ecb479123
However:
This 'How-To' document is using an example of a BEx query. I am not using a BEx query, therefore I do not have an "Info port". How can I download to Excel from a table view that is not an iView of a BI query? (It is just a internal table coming from a BAPI).keenneth,
i am using the query from SQL server, i am having the same problem of not having info port. so did you find a work around for exporting to excel with filters for non sap queries ?
any body who had come across this situation , plz guide me.
thanks in advance
ravi -
How to export&import data using sql *loader
Hi all,
How to export&import data from sql*loader. Give me the clear steps..
Thanks in AdvanceHi did you already exported data from SQL SERVER? if not using SQL*LOADER you cannot export data. SQL*LOADER is only mean for importing data from flat files(usually text files) into ORACLE tables.
for importing data into oracle tables using sql*loader use below steps
1) create a sql*loader control file.
it looks like as follows
LOAD DATA
INFILE 'sample.dat'
BADFILE 'sample.bad'
DISCARDFILE 'sample.dsc'
APPEND
INTO TABLE emp
TRAILING NULLCOLS
or for sample script of control file search google.
2) at command prompt issue following
$ sqlldr test/test
enter control file=<give control file name which you create earlier>
debug any errors (if occured) -
Goto: How to export some data from the tables of an owner with integrity?
Hi to all,
Help please: How to export some data from the tables of an owner with integrity?
My thanks in advance,
PhilipsThanks, Peter.
Well, I am working with release 9.2.0.8.0. But the planning is migrate to 10g this year. So my questions are:
With Data Pump can export data just from tables owned for me (SCHEMAS = MYOWNER) parameterizing the volume of data (SAMPLE) and filters to table (QUERY), right? But parameterizing a contract table QUERY = "WHERE status NOT IN (2,6) ORDER BY contract ":
1º- the Data Pump automatically searches for related data in other tables in the owner? ex. parcel table has X records related (fk) with Y contracts not in (2,6): X * SAMPLE records will be randomly exported?
2º- for the tables without relation (fk) and which are within the owner (MYOWNER) the data is exported only based on the parameter SAMPLE?
Once again, thank you,
Philips
Reading Oracle Docs... -
How to Export after import from minidv?
How do you export after importing from a minidv source?
My movie is in the Event Libary > 2008 however I can't figure out how to export it now.export back to tape? not supported any more with vers7/iMovie08 anymore..
you can only export Projects.. drag your clips into a Project..
http://www.apple.com/ilife/tutorials/#imovie
http://manuals.info.apple.com/en/iMovie08_GettingStarted.pdf
Maybe you are looking for
-
How to make a socket connection timeout infinity in Servlet doPost method.
I want to redirect my System.out to a file on a remote server (running Apache Web Server and Apache Tomcat). For which I have created a file upload servlet. The connection is established only once with the servlet and the System.out is redirected to
-
Can i turn off the touch screen on my laptop?
can someone exolain how if im able to? Toshiba satellite l55dt-a5254
-
I have a 4th gen iPad and the type face on the keyboard has been replaced with small squares. How do I fix this?
-
HP 5510 All-in-One, Windows 7 64-bit, Error: "Out of Paper". When trying to print with the paper tray full, I continuously get the error message "Out of Paper". Is there a fix or do I need to just replace the printer?
-
No audio in on outgoing calls with the spa112 ata
Hello, Everything works fine if I forward ports but I don't want to do that for security reasons so I'm guessing its a NAT issue. Stun is not helping. Can anyone help? the NAT support paramaters in the SPA112 configuration look interesting but incom