Hardware information thru Java prog
Can anybody provide me the information about how in Java one can retreive information regarding Hard disk serial number, free space, total space of hard disk etc through Java programming. It is possible in Visual Basic and I am sure there must be some method to get this info in Java.
I would also like to know various other utilities/methods thru which one can communicate with system hardware
To access hardware you must to use native methods ie your java application must to invoke some native library (DLL's in Windows) because this issue is OS dependent. There is an Java API specially dealing with this topic: JNI (Java Native Interface).
Similar Messages
-
Problem description:
My Macbook air runs very slow since installed Yosemite a few days ago
EtreCheck version: 2.0.6 (91)
Report generated October 24, 2014 at 12:07:13 GMT+3
Hardware Information: ℹ️
MacBook Air (13-inch, Mid 2012) (Verified)
MacBook Air - model: MacBookAir5,2
1 2 GHz Intel Core i7 CPU: 2-core
8 GB RAM Not upgradeable
BANK 0/DIMM0
4 GB DDR3 1600 MHz ok
BANK 1/DIMM0
4 GB DDR3 1600 MHz ok
Bluetooth: Good - Handoff/Airdrop2 supported
Wireless: en0: 802.11 a/b/g/n
Video Information: ℹ️
Intel HD Graphics 4000 -
Color LCD 1440 x 900
System Software: ℹ️
OS X 10.10 (14A389) - Uptime: 0:15:57
Disk Information: ℹ️
APPLE SSD SM256E disk0 : (251 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
Macintosh HD (disk1) / [Startup]: 249.77 GB (28.85 GB free)
Core Storage: disk0s2 250.14 GB Online
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Apple Internal Memory Card Reader
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/Parallels Access.app
[loaded] com.parallels.virtualsound (1.0.27 27 - SDK 10.6) Support
/Applications/Parallels Desktop.app
[not loaded] com.parallels.kext.hidhook (9.0 24251.1052177) Support
[not loaded] com.parallels.kext.hypervisor (9.0 24251.1052177) Support
[not loaded] com.parallels.kext.netbridge (9.0 24251.1052177) Support
[not loaded] com.parallels.kext.usbconnect (9.0 24251.1052177) Support
[not loaded] com.parallels.kext.vnic (9.0 24251.1052177) Support
/Library/Extensions
[not loaded] org.virtualbox.kext.VBoxDrv (4.2.4) Support
[not loaded] org.virtualbox.kext.VBoxNetAdp (4.2.4) Support
[not loaded] org.virtualbox.kext.VBoxNetFlt (4.2.4) Support
[not loaded] org.virtualbox.kext.VBoxUSB (4.2.4) Support
Startup Items: ℹ️
VirtualBox: Path: /Library/StartupItems/VirtualBox
Startup items are obsolete and will not work in future versions of OS X
Launch Agents: ℹ️
[invalid?] com.cisco.anyconnect.gui.plist Support
[invalid?] com.oracle.java.Java-Updater.plist Support
[running] com.parallels.mobile.prl_deskctl_agent.launchagent.plist Support
[invalid?] com.teamviewer.teamviewer.plist Support
[invalid?] com.teamviewer.teamviewer_desktop.plist Support
[loaded] org.macosforge.xquartz.startx.plist Support
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist Support
[running] com.cisco.anyconnect.vpnagentd.plist Support
[loaded] com.microsoft.office.licensing.helper.plist Support
[invalid?] com.oracle.java.Helper-Tool.plist Support
[running] com.parallels.mobile.dispatcher.launchdaemon.plist Support
[loaded] com.parallels.mobile.kextloader.launchdaemon.plist Support
[loaded] com.teamviewer.Helper.plist Support
[invalid?] com.teamviewer.teamviewer_service.plist Support
[loaded] org.macosforge.xquartz.privileged_startx.plist Support
User Launch Agents: ℹ️
[loaded] com.google.keystone.agent.plist Support
[running] com.microsoft.LaunchAgent.SyncServicesAgent.plist Support
[running] com.parallels.mobile.startgui.launchagent.plist Support
[not loaded] org.virtualbox.vboxwebsrv.plist Support
User Login Items: ℹ️
iTunesHelper Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
Moveslink2 Application (/Applications/Moveslink2.app)
Quicksilver Application (/Applications/Quicksilver.app)
Google Drive Application (/Applications/Google Drive.app)
Google Chrome ApplicationHidden (/Applications/Google Chrome.app)
Dropbox UNKNOWN (missing value)
EvernoteHelper Application (/Applications/Evernote.app/Contents/Library/LoginItems/EvernoteHelper.app)
Internet Plug-ins: ℹ️
SharePointBrowserPlugin: Version: 14.1.3 - SDK 10.6 Support
FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
Flip4Mac WMV Plugin: Version: 3.0.0.126 - SDK 10.8 Support
QuickTime Plugin: Version: 7.7.3
Default Browser: Version: 600 - SDK 10.10
User Internet Plug-ins: ℹ️
Google Earth Web Plug-in: Version: 7.1 Support
Safari Extensions: ℹ️
AdBlock
OpenIE
Facebook Photo Zoom
Translate
1-ClickWeather
3rd Party Preference Panes: ℹ️
Flash Player Support
Flip4Mac WMV Support
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
7% WindowServer
1% fontd
1% Google Drive
0% Microsoft Database Daemon
0% AppleSpell
Top Processes by Memory: ℹ️
180 MB Google Drive
86 MB mds_stores
86 MB SyncServicesAgent
86 MB Google Chrome
86 MB Finder
Virtual Memory Information: ℹ️
2.25 GB Free RAM
2.84 GB Active RAM
2.56 GB Inactive RAM
936 MB Wired RAM
3.88 GB Page-ins
74 KB Page-outsYou have nearly run out of disk space. Either purchase a larger one or start cleaning out the one you have?
-
Returning CGI variables thru java
I am trying to check the cgi environment variables on my application server 10.1.2. I am unable to get any of the ssl variables at all. I can run /cgi-bin/printenv and see all the variables. However I am unable to get them out thru java. I dont know if I am missing something in the configuration of the server or not. I have it set up to run SSL and SSLVerifyClient so the clients have to provide a valid certificate. I need to grab the information off of that certificate to authorize their access. Any help would be much appreciated. Thanks!
We did figure it out. We needed to make the following changes in our 10.1.3 environment. It should be similar in the 10.1.2 environment.
ssl.conf or httpd.conf -
Set the following setting in a context (either VirtualServer, Location,
Directory, or File - others may work)
SSLOptions +StdEnvVars
mod_oc4j.conf -
Add the following lines to if IfModule context
Oc4jEnvVar SSL_CLIENT_S_DN
Oc4jEnvVar SSL_CLIENT_S_DN_CN -
A C rotine in Java prog !!!!!
hi...
i have a JAVA prog but i wana insert into a C rotine/Script, how i will do ?????
other thing, can i block the terminal and only liberate the machine if the user type the login and password corectly, the login and password will be signed by a Admin prog in java, the client prog will block the machine and if the user type corectly will request the information by RMI to the admin prog, and if it corectly will free the machine, it is possible ????????i have a JAVA prog but i wana insert into a C rotine/Script, how i will do It's called JNI:
http://java.sun.com/docs/books/tutorial/native1.1/index.html
I stopped reading the other question after one sentence and a half.
Kind regards,
Levi -
Can anybody help me out if i need to know how to get the hardware informations? and also that if i need to know if there is any network card present in the system or not and if it is present then what is the MAC address of that network card? Also, if it is possible to know how many processors are present and to get the processor ids from each processor, and how much RAM is present? I would appreciate if someone can help me out in this that what API and what procedure i have to follow? and if any working example can be available it is much appreciated, thanks
This sort of question is asked. time and time again.
You can't access detailed hardware specific information, without writing native C++ code and calling it via JNI...
some things you can do, in Java are
1.call java.net.InetAddress.getLocalHost() to get the pc's IP address
2. processors... I saw some Java environment variables that might give this...
On WinNT there's an environement variable NUMBER_OF_PROCESSORS
pass this to java via
java -DprocNum=%NUMBER_OF_PROCESSORS%
then use
System procNumStr = System.getProperty ( "procNum" );
3. RAM - no, Runtime.totalMemory() only gives the maximum heap space allocated to Java.
regards,
Owen -
I want to get system hardware information
I want to get system hardware information like
processor serial no mac address etc using preferebly in java.Hi,
If U want the hardware information in unix machine sysdef,uname -p for info on the processor,ifconfig -a for ip and mac address ,netmask. -
Hi ...
i want to retrieve hardware information..such as motherbord,memmory,hardistk ,drives..
i want to know the free memmory,free disk space.
and other harware information
and want to control it..how can i..?
Is it possible on java
plz help me to solv tis problemm
plahanov
[email protected]ok..then .it means ..no other way to retrieve hardware details using java..java methods or java classes supporting tis..i want build an application for a network admin..to get all the hardware details of a system such as hardisk capacity ..free space ..memmory etc..plz help me..
-
here is my etrecheck. Any help is appreciated
Hardware Information:
iMac (21.5-inch, Late 2009)
iMac - model: iMac10,1
1 3.06 GHz Intel Core 2 Duo CPU: 2 cores
4 GB RAM
Video Information:
NVIDIA GeForce 9400 - VRAM: 256 MB
System Software:
OS X 10.9.1 (13B42) - Uptime: 1 day 17:29:18
Disk Information:
ST3500418ASQ disk0 : (500.11 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) /: 391.48 GB (245.88 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
BOOTCAMP (disk0s4) /Volumes/BOOTCAMP: 107.76 GB (94.95 GB free)
OPTIARC DVD RW AD-5680H
USB Information:
Apple, Inc. Keyboard Hub
Mitsumi Electric Apple Optical USB Mouse
Apple, Inc Apple Keyboard
Seagate FA GoFlex Desk 2 TB
EFI (disk1s1) <not mounted>: 209.7 MB
Time Machine Backups (disk1s2) /Volumes/Time Machine Backups: 2 TB (1.56 TB free)
Apple Inc. Built-in iSight
Apple Internal Memory Card Reader
Canon MX870 series
Apple Computer, Inc. IR Receiver
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
FireWire Information:
Thunderbolt Information:
Kernel Extensions:
Problem System Launch Daemons:
Problem System Launch Agents:
Launch Daemons:
[System] com.adobe.fpsaud.plist 3rd-Party support link
[System] com.carbonite.launchd.carbonitedaemon.plist 3rd-Party support link
[System] com.crashplan.engine.plist 3rd-Party support link
[System] com.microsoft.office.licensing.helper.plist 3rd-Party support link
Launch Agents:
[System] com.carbonite.launchd.carbonitealerts.plist 3rd-Party support link
[System] com.carbonite.launchd.carbonitestatus.plist 3rd-Party support link
User Launch Agents:
[not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
[not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
[not loaded] com.crashplan.javacheck.plist 3rd-Party support link
[not loaded] com.facebook.videochat.[redacted].plist 3rd-Party support link
[not loaded] com.google.keystone.agent.plist 3rd-Party support link
[not loaded] jp.co.canon.Inkjet_Extended_Survey_Agent.plist 3rd-Party support link
[not loaded] uk.co.markallan.clamxav.freshclam.plist 3rd-Party support link
User Login Items:
iTunesHelper
Adobe Bridge CS4
CrashPlan menu bar
ClamXavSentry
AdobeResourceSynchronizer
Canon IJ Network Scanner Selector2
Internet Plug-ins:
Default Browser: Version: 537 - SDK 10.9
Flip4Mac WMV Plugin: Version: 2.3.8.1 3rd-Party support link
Musicnotes: Version: 1.18.9 3rd-Party support link
AdobePDFViewerNPAPI: Version: 11.0.03 - SDK 10.6 3rd-Party support link
FlashPlayer-10.6: Version: 12.0.0.38 - SDK 10.6 3rd-Party support link
Silverlight: Version: 4.0.51204.0 3rd-Party support link
Flash Player: Version: 12.0.0.38 - SDK 10.6 Outdated! Update
QuickTime Plugin: Version: 7.7.3
iPhotoPhotocast: Version: 7.0
SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6 3rd-Party support link
AdobePDFViewer: Version: 11.0.03 - SDK 10.6 3rd-Party support link
EPPEX Plugin: Version: 3.0.5.0 3rd-Party support link
Scorch: Version: 6.1.0 3rd-Party support link
JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Outdated! Update
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 1.9 - SDK 10.9
AppleAVBAudio: Version: 2.0.0 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
User Internet Plug-ins:
WebEx: Version: 1.0 3rd-Party support link
3rd Party Preference Panes:
Carbonite 3rd-Party support link
Flash Player 3rd-Party support link
Flip4Mac WMV 3rd-Party support link
Bad Fonts:
None
Old Applications:
/Library/Application Support/Microsoft/MERP2.0
Microsoft Error Reporting: Version: 2.2.9 - SDK 10.4 3rd-Party support link
Microsoft Ship Asserts: Version: 1.1.4 - SDK 10.4 3rd-Party support link
Solver: Version: 1.0 - SDK 10.5 3rd-Party support link
/Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
/Library/Application Support/Carbonite
CarboniteDaemon: Version: 1.1.14 build 604 - SDK 10.5 3rd-Party support link
CarboniteStatus: Version: 1.1.14 build 604 - SDK 10.5 3rd-Party support link
CarboniteAlerts: Version: 1.1.14 build 604 - SDK 10.5 3rd-Party support link
/Applications/Microsoft Office 2011/Office
Microsoft Graph: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Database Utility: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Office Reminders: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Upload Center: Version: 14.3.9 - SDK 10.5 3rd-Party support link
My Day: Version: 14.3.9 - SDK 10.5 3rd-Party support link
SyncServicesAgent: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Open XML for Excel: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Alerts Daemon: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Database Daemon: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Chart Converter: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Clip Gallery: Version: 14.3.9 - SDK 10.5 3rd-Party support link
/Applications/Microsoft Office 2011
Microsoft PowerPoint: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Excel: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Outlook: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Word: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Document Connection: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Language Register: Version: 14.3.9 - SDK 10.5 3rd-Party support link
/Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
Microsoft AutoUpdate: Version: 2.3.6 - SDK 10.4 3rd-Party support link
/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
Time Machine:
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 364.60 GB Disk used: 135.61 GB
Destinations:
Time Machine Backups [Local] (Last used)
Total size: 2
Total number of backups: 169
Oldest backup: 2011-04-10 20:10:19 +0000
Last backup: 2014-02-04 22:28:22 +0000
Size of backup disk: Excellent
Backup size 2 > (Disk size 364.60 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU:
16% Solavant Demo
9% mds
3% CarboniteDaemon
2% WindowServer
2% EtreCheck
Top Processes by Memory:
348 MB firefox
217 MB clamd
135 MB mds_stores
106 MB Mail
102 MB softwareupdated
Virtual Memory Information:
794 MB Free RAM
1.70 GB Active RAM
443 MB Inactive RAM
587 MB Wired RAM
1.13 GB Page-ins
896 KB Page-outsFixing a Mavericks Installation Problem
How to manage a failed OS X Mavericks installation | MacFixIt - CNET Reviews.
Try these in order:
1. a. Resetting your Mac's PRAM and NVRAM
b. Intel-based Macs: Resetting the System Management Controller (SMC)
2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the computer and
after the chime press and hold down the OPTION key until the boot manager screen appears.
Select the Recovery HD and click on the downward pointing arrow button.
3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
4. Reinstall Lion/Mountain Lion, Mavericks: Reboot from the Recovery HD. Select Reinstall Lion/Mountain Lion, Mavericks from the Utilities menu, and click on the Continue button.
Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless. -
Problem description:
Slow macbook pro
EtreCheck version: 2.1.2 (105)
Report generated December 12, 2014 at 9:28:15 AM EST
Hardware Information: ℹ️
MacBook Pro (13-inch, Late 2011) (Verified)
MacBook Pro - model: MacBookPro8,1
1 2.4 GHz Intel Core i5 CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1333 MHz ok
BANK 1/DIMM0
2 GB DDR3 1333 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
Intel HD Graphics 3000 - VRAM: 384 MB
Color LCD 1280 x 800
System Software: ℹ️
OS X 10.10.1 (14B25) - Uptime: 5 days 1:56:44
Disk Information: ℹ️
TOSHIBA MK5065GSXF disk0 : (500.11 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted> : 210 MB
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
Macintosh HD (disk1) / : 498.88 GB (50.81 GB free)
Core Storage: disk0s2 499.25 GB Online
MATSHITADVD-R UJ-8A8
USB Information: ℹ️
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. BRCM2070 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Thunderbolt Information: ℹ️
Apple Inc. thunderbolt_bus
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/System/Library/Extensions
[not loaded] com.Logitech.Control Center.HID Driver (2.6.0) [Support]
[not loaded] com.palm.ClassicNotSeizeDriver (3.2.1) [Support]
[not loaded] com.wacom.kext.pentablet (5.0.5) [Support]
Startup Items: ℹ️
HP IO: Path: /Library/StartupItems/HP IO
Parallels: Path: /Library/StartupItems/Parallels
Startup items are obsolete in OS X Yosemite
Problem System Launch Agents: ℹ️
[failed] com.apple.AirPlayUIAgent.plist [Details]
[failed] com.apple.CallHistoryPluginHelper.plist
[failed] com.apple.CallHistorySyncHelper.plist
[failed] com.apple.cmfsyncagent.plist [Details]
[failed] com.apple.coreservices.appleid.authentication.plist [Details]
[failed] com.apple.EscrowSecurityAlert.plist [Details]
[failed] com.apple.icloud.fmfd.plist
[failed] com.apple.lookupd.plist
[failed] com.apple.sbd.plist [Details]
[failed] com.apple.security.cloudkeychainproxy.plist
[failed] com.apple.spindump_agent.plist [Details]
Problem System Launch Daemons: ℹ️
[failed] com.apple.AssetCacheLocatorService.plist [Details]
[failed] com.apple.awdd.plist
[failed] com.apple.ctkd.plist
[failed] com.apple.GSSCred.plist
[failed] com.apple.icloud.findmydeviced.plist
[failed] com.apple.ifdreader.plist
[failed] com.apple.nehelper.plist
[failed] com.apple.periodic-daily.plist [Details]
[failed] com.apple.periodic-weekly.plist [Details]
[failed] com.apple.softwareupdate_download_service.plist [Details]
[failed] com.apple.spindump.plist [Details]
[failed] com.apple.tccd.system.plist [Details]
[failed] com.apple.wdhelper.plist
[failed] com.apple.xpc.smd.plist [Details]
[failed] org.cups.cupsd.plist [Details]
Launch Agents: ℹ️
[loaded] com.google.keystone.agent.plist [Support]
[loaded] com.hp.help.tocgenerator.plist [Support]
[running] com.wacom.pentablet.plist [Support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Support]
[running] com.fitbit.galileod.plist [Support]
[loaded] com.google.keystone.daemon.plist [Support]
[loaded] com.microsoft.office.licensing.helper.plist [Support]
User Launch Agents: ℹ️
[running] com.spotify.webhelper.plist [Support]
User Login Items: ℹ️
iTunesHelper UNKNOWN (missing value)
Microsoft AU Daemon Application (/Applications/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app)
Adobe Update Manager UNKNOWN (missing value)
Microsoft Excel Application (/Applications/Microsoft Office 2004/Microsoft Excel)
SpeechSynthesisServer Application (/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks /SpeechSynthesis.framework/Versions/A/SpeechSynthesisServer.app)
Inspiration 8 Application (/Applications/Inspiration 8/Inspiration 8.app)
Fitbit Connect Menubar Helper Application (/Applications/Fitbit Connect.app/Contents/MacOS/Fitbit Connect Menubar Helper.app)
apple-scc-20141117-121931 UNKNOWN (missing value)
HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
HP Product Research Application (/Library/Application Support/Hewlett-Packard/Customer Participation/HP Product Research.app)
Internet Plug-ins: ℹ️
Flip4Mac WMV Plugin: Version: 2.1.0.33 [Support]
FlashPlayer-10.6: Version: 15.0.0.246 - SDK 10.6 [Support]
Default Browser: Version: 600 - SDK 10.10
Flash Player: Version: 15.0.0.246 - SDK 10.6 Mismatch! Adobe recommends 16.0.0.235
AdobePDFViewer: Version: 8.1.0 [Support]
o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
QuickTime Plugin: Version: 7.7.3
SharePointBrowserPlugin: Version: 14.1.0 [Support]
googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
iPhotoPhotocast: Version: 7.0 - SDK 10.7
User internet Plug-ins: ℹ️
Unity Player: Version: UnityPlayer version 1.6.2 [Support]
3rd Party Preference Panes: ℹ️
Flash Player [Support]
Flip4Mac WMV [Support]
Logitech Control Center [Support]
Time Machine: ℹ️
Skip System Files: NO
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 498.88 GB Disk used: 448.07 GB
Destinations:
Data [Network]
Total size: 2.00 TB
Total number of backups: 59
Oldest backup: 2014-03-12 12:51:24 +0000
Last backup: 2014-12-05 16:47:01 +0000
Size of backup disk: Excellent
Backup size 2.00 TB > (Disk size 498.88 GB X 3)
Top Processes by CPU: ℹ️
3% hidd
0% Fitbit Connect Menubar Helper
0% WindowServer
0% fontd
0% syslogd
Top Processes by Memory: ℹ️
206 MB iPhoto
172 MB Mail
64 MB Safari
60 MB mds
52 MB com.apple.WebKit.WebContent
Virtual Memory Information: ℹ️
49 MB Free RAM
832 MB Active RAM
796 MB Inactive RAM
1.41 GB Wired RAM
45.93 GB Page-ins
1.06 GB Page-outs
Diagnostics Information: ℹ️Macintosh HD (disk1) / : 498.88 GB (50.81 GB free)
You have only about 10 percent free drive space left. 50gB is enough to run the computer but, if it gets much smaller, that can slow how Virtual Memory (VM) works as the system has to more carefully search the remaining space for qualified blocks to which to write data.
Adding RAM will reduce the writes-to-disk by VM but you should probably consider a little holiday disk cleaning of stuff you no longer use.
This concerns me:
User Login Items: ℹ️
iTunesHelper UNKNOWN (missing value)
Microsoft AU Daemon Application (/Applications/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app)
Adobe Update Manager UNKNOWN (missing value)
Microsoft Excel Application (/Applications/Microsoft Office 2004/Microsoft Excel)
SpeechSynthesisServer Application (/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks /SpeechSynthesis.framework/Versions/A/SpeechSynthesisServer.app)
Inspiration 8 Application (/Applications/Inspiration 8/Inspiration 8.app)
Fitbit Connect Menubar Helper Application (/Applications/Fitbit Connect.app/Contents/MacOS/Fitbit Connect Menubar Helper.app)
apple-scc-20141117-121931 UNKNOWN (missing value)
HP Scheduler Application (/Library/Application Support/Hewlett-Packard/Software Update/HP Scheduler.app)
HP Product Research Application (/Library/Application Support/Hewlett-Packard/Customer Participation/HP Product Research.app)
That is a LOT of log-in items for a compute with 4GB RAM. Some are hard to avoid but Excel is a big program that can be easily launched from the Dock. I don't know what "Inspiration 8" is but likely the same advice will apply. -
Hardware Information:
iMac (24-inch, Early 2008)
iMac - model: iMac8,1
1 2.8 GHz Intel Core 2 Duo CPU: 2 cores
2 GB RAM
Video Information:
ATI Radeon HD 2600 Pro - VRAM: 256 MB
System Software:
OS X 10.9.1 (13B42) - Uptime: 5 days 20:20:57
Disk Information:
Hitachi HDP725032GLA380 disk0 : (320.07 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) / [Startup]: 319.21 GB (96.82 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
USB Information:
Apple Inc. Built-in iSight
Apple, Inc. Keyboard Hub
Apple, Inc Apple Keyboard
HP Officejet J6400 series
Nike FuelBand
Apple Computer, Inc. IR Receiver
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
FireWire Information:
G-TECH OEM ATA Device 00 800mbit - 800mbit max
EFI (disk1s1) <not mounted>: 209.7 MB
G-DRIVE (disk1s2) /Volumes/G-DRIVE: 499.76 GB (96.69 GB free)
Thunderbolt Information:
Startup Items:
CiscoTUN: Path: /System/Library/StartupItems/CiscoTUN
HP IO: Path: /Library/StartupItems/HP IO
Launch Daemons:
[System] com.adobe.fpsaud.plist 3rd-Party support link
[System] com.adobe.versioncueCS4.plist 3rd-Party support link
[System] com.cisco.anyconnect.vpnagentd.plist 3rd-Party support link
[System] com.google.keystone.daemon.plist 3rd-Party support link
[System] com.microsoft.office.licensing.helper.plist 3rd-Party support link
Launch Agents:
[System] com.adobe.CS4ServiceManager.plist 3rd-Party support link
[System] com.cisco.anyconnect.gui.plist 3rd-Party support link
[System] com.google.keystone.agent.plist 3rd-Party support link
[System] com.hp.help.tocgenerator.plist 3rd-Party support link
[System] com.nike.nikeplusconnect.plist 3rd-Party support link
User Launch Agents:
[not loaded] com.adobe.ARM.[...].plist 3rd-Party support link
[not loaded] com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist
User Login Items:
iTunesHelper
HP Registration Assistant
HP Scheduler
HP Product Research
HPEventHandler
Internet Plug-ins:
Flip4Mac WMV Plugin: Version: 2.2.3.7 3rd-Party support link
FlashPlayer-10.6: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
iPhotoPhotocast: Version: 7.0
Flash Player: Version: 12.0.0.77 - SDK 10.6 3rd-Party support link
AdobePDFViewer: Version: 9.5.5 3rd-Party support link
Default Browser: Version: 537 - SDK 10.9
QuickTime Plugin: Version: 7.7.3
SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6 3rd-Party support link
Silverlight: Version: 5.1.10411.0 - SDK 10.6 3rd-Party support link
JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Outdated! Update
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 1.9 - SDK 10.9
AppleAVBAudio: Version: 2.0.0 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins:
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
3rd Party Preference Panes:
Adobe Version Cue CS4 3rd-Party support link
Flash Player 3rd-Party support link
Flip4Mac WMV 3rd-Party support link
Old Applications:
/Library/Application Support/Microsoft/MERP2.0
Microsoft Error Reporting: Version: 2.2.9 - SDK 10.4 3rd-Party support link
Microsoft Ship Asserts: Version: 1.1.4 - SDK 10.4 3rd-Party support link
Solver: Version: 1.0 - SDK 10.5 3rd-Party support link
/Applications/Microsoft Office 2011/Office/Add-Ins/Solver.app
SLLauncher: Version: 1.0 - SDK 10.5 3rd-Party support link
/Library/Application Support/Microsoft/Silverlight/OutOfBrowser/SLLauncher.app
/Applications/Microsoft Office 2011/Office
Open XML for Excel: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Office Setup Assistant: Version: 14.3.6 - SDK 10.5 3rd-Party support link
Microsoft Alerts Daemon: Version: 14.3.9 - SDK 10.5 3rd-Party support link
SyncServicesAgent: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Database Daemon: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Graph: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Database Utility: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Office Reminders: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Upload Center: Version: 14.3.9 - SDK 10.5 3rd-Party support link
My Day: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Chart Converter: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Clip Gallery: Version: 14.3.9 - SDK 10.5 3rd-Party support link
/Applications/Microsoft Office 2011
Microsoft PowerPoint: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Excel: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Outlook: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Word: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Document Connection: Version: 14.3.9 - SDK 10.5 3rd-Party support link
Microsoft Language Register: Version: 14.3.9 - SDK 10.5 3rd-Party support link
/Applications/Microsoft Office 2011/Additional Tools/Microsoft Language Register/Microsoft Language Register.app
Microsoft AutoUpdate: Version: 2.3.6 - SDK 10.4 3rd-Party support link
/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app
Time Machine:
Skip System Files: NO
Auto backup: YES
Volumes being backed up:
Macintosh HD: Disk size: 297.29 GB Disk used: 207.12 GB
Destinations:
G-DRIVE Q [Local] (Last used)
Total size: 465.44 GB
Total number of backups: 177
Oldest backup: 2009-01-25 04:24:35 +0000
Last backup: 2014-03-17 21:35:38 +0000
Size of backup disk: Too small
Backup size 465.44 GB < (Disk used 207.12 GB X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU:
9% Microsoft Word
3% Adobe Illustrator
2% Nike+ Connect
2% WindowServer
1% EtreCheck
Top Processes by Memory:
274 MB Adobe Illustrator
115 MB Mail
76 MB Google Chrome
72 MB WindowServer
45 MB com.apple.WebKit.WebContent
Virtual Memory Information:
52 MB Free RAM
666 MB Active RAM
611 MB Inactive RAM
322 MB Wired RAM
7.11 GB Page-ins
161 MB Page-outsYou are only running on 2GB of RAM. IMHO 4GB woud be the minimum to realistically run Mavericks on, although the more the better.
Pete -
Creating XML file in Project folder thru Java Program
hi,
i need one help. i need to create XML file in web://<Project Folder> in xmII thru Java Program. i created one java code and i am able to access XML file that is in c drive. i created jar file for this and placed as action block in Transaction and this working fine. but problem arises when i give file path in java code as web://<folder name>/file.xml which is in Web folder of project in xMII.
How to access the file that is inside web folder from java code.
regards
senthilHi Senthil,
you can address the files that inside the MII workbench are viewed as "web://..." like this:
http://<server>:<port>/XMII/CM/<Project>/<Folder>/<Filename>
The workbench helps you find the correct filename:
- open the WEB tab in the workbench
- right-click on the filename
- select "Copy Link" from the pop up
Now you have the correct link in your clipboard.You can use the "web://" only inside MII.
Michael -
How to get current file position information in JAVA ?
Hello,
I would like to know if someone knows how to get and set current file position information in JAVA ?
In C I use fgetpos and fsetpos.
ThanksInstead of using a standard java.io.File, use java.io.RandomAccessFile
This is a great class - you can get the file pointer (getFilePointer()), and set it (seek(long pos) )
that will do all you need I presume - works the same a file handle in C.
james -
Please help how to run System commands and batch files thru java program
Sir,
I want execute OS commands like dir,cls..etc and batch files,.exe filesthru java program.
I have tried it sofar thru Runtime.getRuntime().exec("execute.bat");
but it is not working.anybody knows about how to run the system commands thru java please give me the code.
thank you,
regards,
j.mouliI've seen other posts with this questions, and answers. Unfortunately I didn't pay much attention. But the basic idea is to exec command.com and pass the specifc batch or command as an argument.
-
hai
i am beginner level in java prog
i insert data in ms sql server 2000. i am insert 5000 record in database . but i am application take long time .pls give advise for me
very quick
import java.sql.*;
public class SqlDatabase
public Connection connection;
public boolean openConnection(String strServerIPAddress, String strDatabaseName, String strUserName, String strPassword)
String url = "jdbc:microsoft:sqlserver://" + strServerIPAddress + ":1433" +";DatabaseName=" + strDatabaseName;
try
//Loading the driver...
DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
//Buiding a Connection
connection = DriverManager.getConnection(url, strUserName, strPassword);
if(connection== null )
return false;
//catch( java.sql.SQLException e )
catch (SQLException e)
System.out.println(e.getMessage());
return false;
return true;
public void SqlDataInsert(String Random_num,String Check_Sum)throws Exception {
//DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
//Connection connection = DriverManager.getConnection( "jdbc:microsoft:sqlserver://202.146.65.221:1433;DatabaseName=MMS_Gateway","Tech","tech32132");
if (connection != null)
try {
Statement stmt = connection.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
ResultSet resultSet = stmt.executeQuery("select * from Random_CheckSum where 1=2");
resultSet.moveToInsertRow();
resultSet.updateString("Random_Number",Random_num);
resultSet.updateString("Check_Sum",Check_Sum);
resultSet.insertRow();
System.out.println("Data Sroted in Database");
} catch (SQLException e) {
System.out.println(e.getMessage());
}now my java prog is very fast . now take 15 sec to 20 sec for insert 5000 records
now i have change my code is
import java.sql.*;
public class SqlDatabase
public Connection connection;
public boolean openConnection(String strServerIPAddress, String strDatabaseName, String strUserName, String strPassword)
String url = "jdbc:microsoft:sqlserver://" + strServerIPAddress + ":1433" +";DatabaseName=" + strDatabaseName;
try
//Loading the driver...
DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
//Buiding a Connection
connection = DriverManager.getConnection(url, strUserName, strPassword);
if(connection== null )
return false;
//catch( java.sql.SQLException e )
catch (SQLException e)
System.out.println(e.getMessage());
return false;
return true;
public void SqlDataInsert(String Random_num,String Check_Sum)
if (connection != null)
try {
String Sql="INSERT INTO Random_CheckSum (Random_Number, Check_Sum) VALUES(?, ?)";
PreparedStatement pstmt =connection.prepareStatement(Sql);
pstmt.setString(1, Random_num);
pstmt.setString(2, Check_Sum);
pstmt.executeUpdate();
System.out.println("Data Sroted in Database");
} catch (SQLException e) {
System.out.println(e.getMessage());
} Thank for all -
Launching another prog from java prog
Hi!
I'm striving to format floppy disk from a java prog.
format, like many other commands/applications, sends some messages back to the terminal and waits for user input. I need to handle communication with such programs.
So far it doesn't go smooth - please look at the code below, there must be number of bugs:private static void execute(String command) // command="cmd.exe /c format A:"; (Win2k)
try {
String outp_line;
Process process = Runtime.getRuntime().exec(command);
// put process input in BufferedReader
BufferedReader normalBR =
new BufferedReader(new InputStreamReader(process.getInputStream()));
// "format A:" on win2k sends to console 2 lines:
// 1. Insert disk in drive A:
// 2. and press ENTER
// but I see only one(first) line. Why?
while ((outp_line = normalBR.readLine()) != null)
System.out.println(outp_line);
// assign an output stream to the process
BufferedOutputStream bos = new BufferedOutputStream(process.getOutputStream());
// assign input from user to BufferedInputStream
byte[] bytes = new byte[12];
BufferedInputStream bis = new BufferedInputStream(System.in, 12);
// read user's input
bis.read(bytes);
// write user's input to the process
bos.write(bytes);
}catch(IOException ioex){ioex.printStackTrace();}Don't know about the first thing, but I saw this in the API:
"The Runtime.exec methods may not work well for special processes on certain native platforms, such as native windowing processes, daemon processes, Win16/DOS processes on Microsoft Windows, or shell scripts. The created subprocess does not have its own terminal or console. All its standard io (i.e. stdin, stdout, stderr) operations will be redirected to the parent process through three streams (Process.getOutputStream(), Process.getInputStream(), Process.getErrorStream()). The parent process uses these streams to feed input to and get output from the subprocess. Because some native platforms only provide limited buffer size for standard input and output streams, failure to promptly write the input stream or read the output stream of the subprocess may cause the subprocess to block, and even deadlock."
I'd suggest googling for a workaround.
Re: the second item, I think another thread makes sense. Perhaps a thread that reads all the error output and stores it in a buffer, which could then be queried.
Maybe you are looking for
-
SharePoint Foundation 2013 SP1 for Microsoft Forefront Identity Manager (FIM) 2010 R2 SP1
For subsequent installation FIM 2010 R2 SP1, I must create a Web application with the classical method of authentication. According to Microsoft (http://technet.microsoft.com/en-us/library/jj863242(v=ws.10).aspx), it is created using PowerShell the f
-
Rwserver.exe - Unable to locate dll
After 'successfully' installing both 9iAS infrastructure and app server on separate Win2k boxes, trying to start the reports server (either through em or as a service) generates the following pop-up error message on the app server: The dynamic link l
-
My MacBook Pro running Leopard (10.5.1) with Airport Extreme can't get an IP address from our Linksys wireless-n router (WRT300N) at work -- all I get is a self-assigned IP. At home I have a Linksys wireless-g router that works fine. Tiger did not ha
-
How do I get Application Manager to recognize that Photoshop is not installed?
Application Manager says that Photoshop CS6 is installed. It isn't. I've rebooted the Mac and it still says it's installed. What installed was a partial or corrupt file which I have trashed. How do I get Application Manager to recognize that Photosh
-
Problem in getting Updated EJB methods in JSC for a Same Project
I'm Using Sun Studio Enterprise for developing EJB sets.After that i'm importing the EJB set in to JSC & using it my Project. If i need to add some more business methods/edit the business method i'm able to do that in the Sun Enterprise IDE.After edi