Command line nvidia-settings output.
First off, I'm not sure if this thread should be here or in the hardware section, but since the issue is with the software, i've stuck it here for the moment.
Since nvclock doesn't work with my fermi cards (2 x gtx470s in sli) I'm using the cli of nvidia-settings in a munin plugin. After some faffing around getting the env set correctly and sufficient xhost permissions, everything is working, apart from the clock speeds.
nvidia-settings -tq [gpu:0]/gpucurrentclockfreqsstring
should output the current clock frequencies of the gpu. However, all it displays is the lowest frequencies - for me, the output is always
nvclock=50, memclock=135, processorclock=101
even when the card is loaded (unigine benchmark) and the nvidia-settings gui shows the correct (higher) clocks. gpucurrentperflevel does change, so this is what I'm using at the moment, although I would prefer actual clock readings rather than 0-3.
Is this experienced by anyone else with nvidia (fermi or not) cards? And should I file a bug for arch, or upstream?
Thanks
Thanks Both...
Psychomania, I do remember one of the Nokia updates having a problem when I initially started to play with the phone. I've just gone through all the QR codes above and got the attached message for 'Display and Touch'.
This was exactly the problem I had initially and looks like the cause or the error in my settings.
FYI. I am updating over my home wi-fi, so there shouldn't be any connection issues.
Attachments:
wp_ss_20130122_0001.jpg 129 KB
Similar Messages
-
Unix command Line input and output
Has anybody used Forte for now window application. Passing values through
command line and get put as a return value. I am able to call Forte and
pass input values but I do not know who to get the return value. Here is
the shell script that I am running:
#!/bin/csh
# Ensure that the correct number of parameters were supplied #
if (${#argv} < 2) then
then
echo "USAGE: ecapp Method Number Parm1 Parm2"
exit 1
endif
ftexec -fi bt:$FORTE_ROOT/userapp/mwapp/cl0/mwapp_0 -fnw -fterm $1 $2
The start class will return a string value after processing the request. I
can use task.lgr.putline to output to the screen but that is not what I
would like to do. I want to get the return value assigned to a variable in
the shell script. One thing I do not know is that if Forte return a string
that the script can use. Any help would be appreciated.
thanks in advance
ka
Kamran Amin
Forte Technical Leader, Core Systems
(203)-459-7362 or 8-204-7362 - Trumbull
[email protected]
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Hi,
Did you try to set Task.Part.OperatingSystem.ExitStatus ? But, the ExitStatus is an integer.
If you really need a string, I would use ExitStatus to know how it finished and an environment variable (Task.Part.OperatingSystem.SetEnv() to position it in your Tool code) to read the string back in the script.
Hope this helps,
Daniel Nguyen
Freelance Forte Consultant
Url : http://perso.club-internet.fr/dnguyen/ -
Force to used command line mouse settings ?!?
Bravo for not including an option to disable mouse acceleration in the mouse settings. Had to used 2 command lines in the terminal.app to disable the so annoying and so not gaming friendly mouse acceleration... that thing is like dragging the mouse cursor in mud,
I dont know how mac users can stand it, I guess people get used to it. I am sure its great for paint/draw/... because the mouse slows a lot when you dont move fast, but its totally worthless and sluggish in games.
And Mac have better interface than windows right? I you want to convert people from the windows world to the mac world, put that setting in... different mouse movement is one of the first thing a windows user will notice when using a mac.
Message was edited by: herbapouHere are the 2 command lines to disable mouse acceleration in case some people want to do it:
1 - Open application then utility folder.
2 - Select the terminal app
3 - type the following lines:
defaults write .GlobalPreferences com.apple.mouse.scaling -1
defaults write .GlobalPreferences com.apple.trackpad.scaling -1
4- Restart -
RH9 - Any idea why generating printable output from the Command Line doesn't include images?
I have a batch file that creates a printable output of our main documentation broken up into 36 separate documents, 1 per chapter. Each chapter is a separate layout. I realize that RH has its own Batch building process, but the reason for me doing it through the command line via a batch file (.bat) is that RH keeps taking focus from my mouse and it makes it difficult to do any other computer work while the RH project generates the printable output for those chapters.
Anyway, RH's Batch build works fine.
But the command line for printable output does not include any of my images in the printable output. I don't know why. The document generates with all the topics fine, but the images are missing. No placeholder box in the resulting Word doc, they just simply weren't included. Has anyone else seen this? Any way to fix it?All,
I thought it may be related to spaces in the path in which the script was called from. I tried having the ODBC command script in another directory but the same thing happens. It will give me the "CONFIGSYSDSN: Unable to create a data source for the 'Oracle in OraClient10g_home1' driver: Could not load the setup or translator library with error code -2147467259". As soon as the script is done running I can manually double click the script and it adds the DSN fine.
Thanks,
Clif Bridegum -
How to write an output of a VI/exe to command line before quitting
how to write an output of a VI/exe to command line or standard output before exiting the program
You can use "System Exec.vi" in the Communication pallete. (6.1 and 7.0)
Daniel L. Press
PrimeTest Corp.
www.primetest.com -
Invoke Labview applicatio​n from Command line
hi,
I have a labview program which does some analysis on my Test data.
My application is that,i have a Test sequencer program(Different application) which collects data and stores it in .dat file.
After this i invoke exe of Labview Analysis program from Test sequencer & i enter the Test data filename as a command line argument.
My first step in analysis program is read command line argument(thru App.Args property) & get filename(the command line gives array output , index 0 will be Labview,index 1 will show filename)
This works absolutely fine.
I made a copy of this analysis prog to include some more functionalities and renamed it as different Labview program(prog structure is same) & trying to do the same abovesaid process.
But somehow im not able to get Command line arg(basically here filename) passed to labview.
The error im getting is that it's showing the path of my application (say if my application is in C)."C:\xxxx.dat is not a LABVIEW data file".
My question is:
Is there any settings changes to be done for Command line args property node when we make a copy from one prog to other prog.? Im not having clue why this should occur?
-MuraliJust to confirm I understand what you are asking... you copied the App.Args property from one vi to another, compiled the new vi to an exe, new exe doesn't receive the command line parameters.
Did you make sure the "Pass all command line arguments to application" check box (in the 'Advanced' category of the application builder) was checked for the new application?
Troy
CLDEach snowflake in an avalanche pleads not guilty. - Stanislaw J. Lec
I haven't failed, I've found 10,000 ways that don't work - Thomas Edison
Beware of the man who won't be bothered with details. - William Feather
The greatest of faults is to be conscious of none. - Thomas Carlyle -
Nvidia Settings not saved or dont load after reboot
Hi there , look well i try to put the follow settings :
Well during my current session that apply without problems , well when i reboot , or shutdown after i power on the pc . the settings are reset to :
How i can saved and load the settings when i start my session again , because i try to put in my ~/.xinitrc
the follow lines :
nvidia-settings --load-config-only (this dont work for i want load the settings when i start my session)
nvidia-settings -a InitialPixmapPlacement=2 (For Firefox , i dont know if this works or not)
well , you have another ideas , to solve this ???
thank you for any answer you can give me.
-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
-- Tell me mod , how i can put the Thumbnail , when the source site , dont give the code from the site to put thumbnails , this forum support make the thumbnail??? ---
Last edited by inukaze (2014-06-12 15:08:39)What DE are you using? (if any) I have a similar problem since the last Gnome 3.12, doesn't matter where I put the command "nvidia-settings --load-config-only" it just doesn't work. I have to either open the GUI or issue the command on the terminal for it to happen, I tried with ~/.config/autostart/ /etc/xdg/autostart/ with a .xprofile file, a .xinitrc, nothing works, I can't tell from where this problem originates. Other programs start just fine with the mentioned methods, then it must be something wrong with the way nvidia is invoked I guessing, a couple of months ago was working flawlessly.
Last edited by RJQ (2014-06-20 21:29:31) -
Hi, does anyone know how to invoke the JDev 10.1.3 oc4j_remote_deploy.jar from the command line? We have it working for 10.1.2, for automated deployment scripts.
If I try the same thing for 10.1.3, I get an error.
See below my command line and the output.
I think the error is in the Oc4jDcmServlet URL, the format seems to have changed from 10.1.2 to 10.1.3.
I tried to reverse-engineer by using an HTTP tracer, but that did not help.
Any help would be much appreciated.
Regards, Maarten Brugman
======================== command line: ==================
"C:\j2sdk1.4.2_09\bin\java.exe" -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdev-work\ebrp-new\ear\target\installer\oc4j_remote_deploy.jar http://lnvx0027:29805/Oc4jDcmServletAPI/ oc4jadmin ***** listApplications /oracle/oaedv03/oracle/oas/10.1.3/ontwj2e1013 UNDEFINED UNDEFINED OC4J_OEBRP
============ output: ====================================
Initializing log
Servlet interface for OC4J DCM commands
Command timeout defined at 600 seconds
Executing DCM command...
Executing command listApplications /oracle/oaedv03/oracle/oas/10.1.3/ontwj2e1013
UNDEFINED UNDEFINED OC4J_OEBRP
Command = LISTAPPLICATIONS
Opening connection to Oc4jDcmServlet
Setting userName to oc4jadmin
Sending command to DCM servlet
**** Could not check HTTP response code
** Thread[main,5,main] ** Fri May 11 17:18:13 CEST 2007 ** ** EXCEPTION: java.
net.SocketException: Unexpected end of file from server
java.net.SocketException: Unexpected end of file from server
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:822)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:820)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:711)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
nection.java:635)
at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:272
at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.isHttpResponseOk(Unknow
n Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmClient.sendCommand(Unknown Sou
rce)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.execute(Unknown Source
at oracle.j2ee.tools.remote_deploy.Oc4jDcmCommand.listApplications(Unkno
wn Source)
at oracle.j2ee.tools.remote_deploy.Oc4jDcmMain.main(Oc4jDcmMain.java:71)
#### HTTP response is NOT ok
Closing connection to Oc4jDcmServlet
#### DCM command did not complete successfully (-1)
#### HTTP return code was -1
============ end output =================================In my opinion, you will succeed in handling linefeeds in output texts by using an <tt><af:outputFormatted></tt> tag in conjuction with a JSF converter that replaces the linefeeds with a <tt><br></tt> tag in the text. You will have to implement a custom converter class (this is quite simple, see below) and to set it to the <tt>converter</tt> attribute of the <tt><af:outputFormatted></tt>. The converter class should look like:
public class MyLinefeedConverter implements javax.faces.convert.Converter
public MyLinefeedConverter() {
public Object getAsObject(FacesContext context, UIComponent component, String value) {
return value;
public String getAsString(FacesContext context, UIComponent component, Object value) {
if (value==null) return "";
if (value instanceof String) return ((String)value).replace("\n", "<br>");
return value.toString();
}In this way the linefeeds in your text values will be replaced by <tt><br></tt>, which will be rendered by the corresponding <af:outputFormatted> tag as line breaks. -
Hi,
I've built a PJC wich dearchives jar files and writes the contents to local harddrive...
I've even created a main function ,to test the utility from JDeveloper,before deploy to a signed jar in forms server...
The utility works ok,on web environment with JINitiator 1.3.1.9,and the same when executed in JDeveloper...
The total surprise raised when I copied the command line generated by JDeveloper for execution,and running it in a command prompt...
C:\>D:\jdeveloper\jdk\bin\java -jar -classpath D:\jdevtests\Workspace3\F_dwld\f
dwld.jar;D:\jdeveloper\jdev\lib\jdev-rt.jar;D:\jdeveloper\forms90\java\f90all.ja
r fdwld.jar C:\temp\jar\fdwld.jar
Exception in thread main
java.lang.IllegalStateException: zip file closed
java.util.zip.ZipEntry java.util.zip.ZipFile.getEntry(java.lang.String)
java.util.zip.ZipEntry java.util.jar.JarFile.getEntry(java.lang.String)
java.util.jar.JarEntry java.util.jar.JarFile.getJarEntry(java.lang.Strin
g)
java.util.jar.Manifest java.util.jar.JarFile.getManifest()
or when trying to execute the class from the same command prompt...
C:\>D:\jdeveloper\jdk\bin\java.exe -hotspot -classpath D:\jdevtests\Workspace3\F
_dwld\classes;D:\jdeveloper\jdev\lib\jdev-rt.jar;D:\jdeveloper\forms90\java\f90a
ll.jar oracle.forms.demos.un_jar C:\temp\jar\fdwld.jar
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/forms/demos/un
_jar
Note that the classes folder contains a oracle.forms.demos subfolder
I've even tried the command line with another local JDK 1.3.1 and it is the same exception
I'm totaly confused...what am I missing,that JDeveloper does with the PJCs and the command line isn't??I've investigated further the problem,and , look what i've found: when trying to execute a jar file deployed by JDeveloper from the class file,a exception occured...I've altered the manifest.mf file,and something else happens now: JDK13,or jdk14 can't see the oracle.forms.demos.VBean class located in f60all.jar file
I have a forms6i release 2 installed,and the command line points to the f60all.jar in the forms60\java folder...
Here is the command line,and, the output:
C:\temp>d:\jdk14\bin\java -jar -classpath d:\jdk14\jre\lib\rt.jar;D:\forms6i\FORMS60\java\f60all.jar fdwld.jar fdwld.jar
the class takes a filename as arg
the output is
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/forms/ui/VBean
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:246)
at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
Any ideas why the VBean class isn't found by the JVM ??
The file is there in the F60all.jar -
System Settings - Command Lines
Help !...
How can I modify System settings (Prefs Panes) via Command Lines/Terminal ?...http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/timed.8. html#//apple_ref/doc/man/8/timed
is this what are you looking for? -
Capturing the output of a os command line
I need to capture the output of a os command line executed from one java program and I don't know how can do it.
For example:
Runtime.getRuntime().exec("hostid");Your suggestion worked very well, just in case that this could interest somebody, this is the complete solution
Thanks for your help
import java.io.*;
public class HostID
public static void main(String args[]){
try{
InputStream in = (Runtime.getRuntime().exec("hostid")).getInputStream();
byte[] arreglo= new byte[200];
int cantidad = in.read(arreglo);
System.out.println(new String(arreglo,0,cantidad));
} catch (IOException ioe){System.out.println(ioe.getMessage());}
} -
Mashed/compressed command line output
This is rather hard to describe, but after installing Arch on a new machine not long ago, I noticed that in the output of certain programs, some characters were partially or entirely hidden behind others. That is, it appears that certain letters are mostly missing, but little bits of them are still visible behind characters that come later on in the output. If I select the output with my mouse, and copy and paste somewhere else, the entire output is there...it's just not all visible on the command line. Though, as I select with my mouse, the specific text my mouse is over becomes visible and other, adjacent characters are hidden. So far I've seen this running yaourt, as well as in vim (which is really a pain). I use Konsole.
Here's a screenshot, showing the output of `yaourt -Ss digikam`:
Notice how various text fields seem to run into each other, and the end of each field gets clipped. As I said, I see the same behavior within vim, so it's not limited to the output of any particular program. Any ideas what's causing this? Is it a Konsole thing, or could it be related to X somehow, or maybe something else I haven't thought of?I am writing a program that runs a load utility via a
class that returns the load utilities output via a
string. There is a certain part of this output which
i need to determine if the program has successfully
completed. I am looking for suggestions on how to
accomplish this. Below is an example of the commands
output.
Rows Read : 30000
Rows Rejected : 0
Rows Loaded : 30000
Rows Committed: 30000What constitutes a successful run?
Might want to take a look at the String.startsWith() and String.indexOf() methods:
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html -
How do you change network settings at the command line when they were set in the
Ubuntu server setup in a remote location awhile ago, with GUI packages. Currently at
version 14.04 LTS. There is ssh access to the remote server.
After a lot of digging thru typical command line configs and not finding the existing
settings anywhere, it appears the only way to update existing settings -- DNS
name servers, IP's, etc. -- is using a GUI method, such as gsettings or unity-control-center.
However,
gsettings doesn't appear to have those particular items.
Is
the only option to use a remote version of Unity .... or just get someone
on-site and remedy this thru the GUI?
This topic first appeared in the Spiceworks CommunityHi and thanks for your reply,
I used one mini DV Tape for my footage and captured the whole thing into CS6 in one go and so the capture should have been the same throught all of the film. Once I had edited the tape on to the timeline some of the clips are 16.9 widescreen and others are 4.3 standard.
Help!!!!! -
Setting IIS W3C Extended Log File settings via command line, registry or configuration file
I am currently in need of a way to set IIS W3C Extended Log File settings via command line, registry or configuration file. More specifically the 'Bytes Sent (sc-bytes)' and 'Bytes Received (cs-bytes)' settings that are not enabled by default.
If anyone knows where I can locate these setting (outside of the GUI) for all IIS versions that would be greatly appreciated.I believe I have found a valid solution. You must have the WebAdministration module loaded. I hope this helps someone.
Use the following syntax to view current W3C fields:
Get-WebConfiguration -filter system.applicationhost/sites/sitedefaults/logfile | select-object -expandProperty logExtFileFlags
Use the following syntax to set W3C fields:
Set-WebConfigurationProperty -Filter System.Applicationhost/Sites/SiteDefaults/logfile -Name LogExtFileFlags -Value "Date,Time,ClientIP,UserName,SiteName,ComputerName,ServerIP,Method,UriStem,UriQuery,HttpStatus,Win32Status,BytesSent,BytesRecv,TimeTaken,ServerPort,UserAgent,Cookie,Referer,ProtocolVersion,Host,HttpSubStatus"} -
How to execute some code in command line, and read its output?
I'v found here http://www.sap-advisor.com/abap-coding/how-to-execute-operating-system-commands-from-within-sap/ that I can execute commands from the windows command line for example inside SAP.
But I want to take it one step further and read its output. is it possible?Hi RagnaRock,
one possible approach can be outputting the results of the command into a text file (i.e. "command >result.txt"), and then read this file from SAP/ABAP.
I hope this helps. Kind regards,
Alvaro
Maybe you are looking for
-
Draft View Not Displaying Correctly
We have recently redesigned a website that is using Contribute which appears correctly on the live domain. However, whenever you try to edit a page within Contribute, the draft view doesn't show the new images or CSS. Does anyone know why this could
-
I've been messing around for 2 days trying to organize my tunes. I keep setting the preferences to manual, then deleting the songs from my nano, and then wait for the message that OK to disconnect. I eject the Ipod, check the playlist and the songs a
-
Problem with replace text in file
Hi! I have some file (*.txt) and I want to replace some strings in this file, which are stay in different positions in the file. How I can do this? My code is: 1String fileName = filePath + File.separator + "text.txt"; 2.FileWriter fileWriter = new F
-
802.11r (Fast Transition) - multiple WLANs required for legacy clients?
Hello, I have a Cisco 5508 WLC with AIR-CAP3502E-E-K9 APs. I want to enable 802.11r (Fast Transition) and understand that some legacy clients may not support 802.11r and therefore if you select, for example, FT 802.1X as an authentication key manage
-
Reversal Process Model using PUOCBA
Hi Guys, There is a requirement in our Co. to set up a reversal process model using PUOCBA. As far as i know, it is a pretty standard process and we need to copy standard process model SAPUSOCV and create our own and use the same in PUOCBA selecting