How do I determine my firewire chip
Hey! I need help finding out what kind of Firewire chip a have, help me?
Usually the question is whether the system supports Firewire 400 or 800. You could look at your System Information (click Apple on menu bar, about this mac, more info) however I don't know if that will tell you which chip is used for Firewire. Sometimes the iFixit.com teardowns cover that.
Similar Messages
-
How do you Determine the Largest Size/Fastest Speed Hard Drive
In general, how do you determine the maximum hard drive size/speed you can upgrade to?
As long as the drive your are considering physically fits as already stated there is no maximum size you can install. Please complete your profile so we know what machine you have.
If your machine is covered by a warranty or AppleCare I would recommend against installing another HD as this may invalidate the warranty. I would recommend in that case using a Firewire 800 external HD instead.
Regards,
Roger -
Hi all
Dumb question #2.
The beast is a G4 MDD with dual 450MHz chips and the model number is M5183 and the machine number as per System Profiler is 406. Serial number is SG03402HK5W
Got all that.
I need to determine Bus Speed so I can buy the proper Ram Cards for this machine. It was supplies from the eBay seller with PC133 chips in there and surprisingly enough it runs 9.2.1 just fine.
How can I determine whether my machine is a 100MHz or 133MHz.
I suspect my Machine is not an MMD but a Gigabit Ethernet with dual 450 processors. Is this correct?
John FennYou can find all the G4 specs here to identify your machine and get the RAM specs and bus speed.
-Douggo
G4 Dual 867 MDD Mac OS X (10.4.3) 1.25GB RAM; 3 HDD's; Pioneer 106D; 20" Cinema Display; 30GB iPod Photo -
Hello. I would like to write async tcp client and server. I wrote this code but a have a problem, when I call the disconnect method on client or stop method on server. I can't identify that the client or the server is no longer connected.
I thought I will get an exception if the client or the server is not available but this is not happening.
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
How can I determine that the client or the server is no longer available?
Server
public class Server
private readonly Dictionary<IPEndPoint, TcpClient> clients = new Dictionary<IPEndPoint, TcpClient>();
private readonly List<CancellationTokenSource> cancellationTokens = new List<CancellationTokenSource>();
private TcpListener tcpListener;
private bool isStarted;
public event Action<string> NewMessage;
public async Task Start(int port)
this.tcpListener = TcpListener.Create(port);
this.tcpListener.Start();
this.isStarted = true;
while (this.isStarted)
var tcpClient = await this.tcpListener.AcceptTcpClientAsync();
var cts = new CancellationTokenSource();
this.cancellationTokens.Add(cts);
await Task.Factory.StartNew(() => this.Process(cts.Token, tcpClient), cts.Token, TaskCreationOptions.LongRunning, TaskScheduler.Default);
public void Stop()
this.isStarted = false;
foreach (var cancellationTokenSource in this.cancellationTokens)
cancellationTokenSource.Cancel();
foreach (var tcpClient in this.clients.Values)
tcpClient.GetStream().Close();
tcpClient.Close();
this.clients.Clear();
public async Task SendMessage(string message, IPEndPoint endPoint)
try
var tcpClient = this.clients[endPoint];
await this.Send(tcpClient.GetStream(), Encoding.ASCII.GetBytes(message));
catch (Exception exception)
private async Task Process(CancellationToken cancellationToken, TcpClient tcpClient)
try
var stream = tcpClient.GetStream();
this.clients.Add((IPEndPoint)tcpClient.Client.RemoteEndPoint, tcpClient);
while (!cancellationToken.IsCancellationRequested)
var data = await this.Receive(stream);
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
private async Task Send(NetworkStream stream, byte[] buf)
await stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
await stream.WriteAsync(buf, 0, buf.Length);
private async Task<byte[]> Receive(NetworkStream stream)
var lengthBytes = new byte[4];
await stream.ReadAsync(lengthBytes, 0, 4);
var length = BitConverter.ToInt32(lengthBytes, 0);
var buf = new byte[length];
await stream.ReadAsync(buf, 0, buf.Length);
return buf;
Client
public class Client
private TcpClient tcpClient;
private NetworkStream stream;
public event Action<string> NewMessage;
public async void Connect(string host, int port)
try
this.tcpClient = new TcpClient();
await this.tcpClient.ConnectAsync(host, port);
this.stream = this.tcpClient.GetStream();
this.Process();
catch (Exception exception)
public void Disconnect()
try
this.stream.Close();
this.tcpClient.Close();
catch (Exception exception)
public async void SendMessage(string message)
try
await this.Send(Encoding.ASCII.GetBytes(message));
catch (Exception exception)
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.SafeInvoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
private async Task Send(byte[] buf)
await this.stream.WriteAsync(BitConverter.GetBytes(buf.Length), 0, 4);
await this.stream.WriteAsync(buf, 0, buf.Length);
private async Task<byte[]> Receive()
var lengthBytes = new byte[4];
await this.stream.ReadAsync(lengthBytes, 0, 4);
var length = BitConverter.ToInt32(lengthBytes, 0);
var buf = new byte[length];
await this.stream.ReadAsync(buf, 0, buf.Length);
return buf;Hi,
Have you debug these two applications? Does it go into the catch exception block when you close the client or the server?
According to my test, it will throw an exception when the client or the server is closed, just log the exception message in the catch block and then you'll get it:
private async void Process()
try
while (true)
var data = await this.Receive();
this.NewMessage.Invoke(Encoding.ASCII.GetString(data));
catch (Exception exception)
Console.WriteLine(exception.Message);
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
By the way, I don't know what the SafeInvoke method is, it may be an extension method, right? I used Invoke instead to test it.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How can I determine the type of video out connector I need?
Howdy,
I have a white macbook purchased Jun/2008. I want to connect to a TV but don't know what adapter I need. How can I determine the type of video out jack my macbook has?
System Profiler says the model identifier is "MacBook 4,1". Under Graphics/Displays the only thing it says about the "Display Connector" is that no display is connected. Too bad it doesn't tell me what type of connector it is. If I knew the name of the connector I'd probably be home free. But it seems like every macbook model has a different video connector (since the state of the art has advanced over the years) and I haven't been able to keep up with the names.
Now, I have a 6" long adapter that will convert this connector to VGA. And searching the Apple store for VGA adapters, the existence of mine says my connector is might be one of "Mini DisplayPort", "Apple Mini DVI", "Apple DVI", or "Apple Micro-DVI". But then there is also the connector at
http://store.apple.com/us/product/M8639G/A?mco=MTY3ODQ5OTY
and that looks like the one I have. But unlike the other adapters, this one is just called a "VGA Display Adapter". Does the connector have a name? How can I find adapters that have that same connector?
I know I could use the adapter I have, plus a VGA to VGA cable, to hook up to a TV. But the quality of the VGA signal is poor in the digital world. My goal is to hook up to the TV via HDMI. Is this even possible? By which I mean, will my macbook generate the signals necessary to be able to be converted to HDMI?
Thanks for any help,
Zebulon TThanks, Ded,
You're right, the cable that I have won't work. I't from my previous, 2004 iBook. This is pretty embarrassing... I looked at the cable but didn't bother to try plugging it in.
Looking at the close-up picture of the Mini-DVI to VGA adapter, that does look like the right connector. So I have Mini-DVI, and the other apter you pointed to can convert this to DVI. I'll take a look to see what makes the most sense, connector wise, downstream from that.
Thanks very much.
Zeb T -
How to syatem determine delivery date in sales order
hi sap gurus
how to syatem determine delivery date in sales order
Thanks and regards
ramHi Friend,
There are many things which determines the delivery dates.
01. PICK TIME+ PACK TIME +LOADING TIME
02. LEAD TIME in days (VOV8)
03. Shipping point
04. Scheduling line
05. Kind of availblity check
06. If the above things are maintained as blank then the current date will be the delivery date
However whether it must be proposed by the system or not is determined by one check box there find in VOV8 in requesteed delivery date determination tab. -
When I upgraded from v4 to v5 my bookmarks was lost. I do have the one that is in the firefox toolbar. Apparently I had a bookmarks add-on. V5 changed my browser how can I determine what the program was and if the bookmarks are still there?
Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
Websites remembering you and automatically log you in is stored in a cookie.
*Create an allow Cookie Exception to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
*Tools > Options > Privacy > Cookies: Exceptions
In case you are using "Clear history when Firefox closes":
*do not clear Cookies
*do not clear Site Preferences
*Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
*https://support.mozilla.org/kb/Clear+Recent+History
Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception and cookies from plugins. -
How can I determine what computers are home sharing??
How can I determine what computers are home sharing??
Launch iTunes on the computers you're interested in. Check in the "Advanced" menu.
If "Turn on Home Sharing" is listed as an option, the iTunes library that you have open is not Home Sharing.
If "Turn off Home Sharing ([accountname]) is listed as an option, the iTunes library that you have open is Home Sharing. -
Hello,
I am at my wits end into this. Either I am doing it the wrong way or it is not possible.
Let me explain. I need a vb script for the following scenario:
1. The script is to run on multiple Windows 7 machines (32-Bit & 64-Bit alike).
2. These are shared workstation i.e. different users login to these machines from time to time.
3. The objective of this script is to traverse through each User Profile folder and get the size of the 'My Documents' folder within each User Profile folder. This information is to be written to a
.CSV file located at C:\Temp directory on the machine.
4. This script would be pushed to all workstations from SCCM. It would be configured to execute with
System Rights
I tried the script detailed at:
http://blogs.technet.com/b/heyscriptingguy/archive/2005/03/31/how-can-i-determine-the-size-of-the-my-documents-folder.aspx
Const MY_DOCUMENTS = &H5&
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("Shell.Application")
Set objFolder = objShell.Namespace(MY_DOCUMENTS)
Set objFolderItem = objFolder.Self
strPath = objFolderItem.Path
Set objFolder = objFSO.GetFolder(strPath)
Wscript.Echo objFolder.Size
The Wscript.Echo objFolder.Size command in the script at the above mentioned link returned the value as
'0' (zero) for the current logged on user. Although the actual size was like 30 MB or so.
I then tried the script at:
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_27869829.html
This script returns the correct value but only for the current logged-on user.
Const blnShowErrors = False
' Set up filesystem object for usage
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objShell = CreateObject("WScript.Shell")
' Display desired folder sizes
Wscript.Echo "MyDocuments : " & FormatSize(FindFiles(objFSO.GetFolder(objShell.SpecialFolders("MyDocuments"))))
' Recursively tally the size of all files under a folder
' Protect against folders or files that are not accessible
Function FindFiles(objFolder)
On Error Resume Next
' List files
For Each objFile In objFolder.Files
On Error Resume Next
If Err.Number <> 0 Then ShowError "FindFiles:01", objFolder.Path
On Error Resume Next
FindFiles = FindFiles + objFile.Size
If Err.Number <> 0 Then ShowError "FindFiles:02", objFile.Path
Next
If Err.Number = 0 Then
' Recursively drill down into subfolder
For Each objSubFolder In objFolder.SubFolders
On Error Resume Next
If Err.Number <> 0 Then ShowError "FindFiles:04", objFolder.Path
FindFiles = FindFiles + FindFiles(objSubFolder)
If Err.Number <> 0 Then ShowError "FindFiles:05", objSubFolder.Path
Next
Else
ShowError "FindFiles:03", objFolder.Path
End If
End Function
' Function to format a number into typical size scales
Function FormatSize(iSize)
aLabel = Array("bytes", "KB", "MB", "GB", "TB")
For i = 0 to 4
If iSize > 1024 Then iSize = iSize / 1024 Else Exit For End If
Next
FormatSize = Round(iSize, 2) & " " & aLabel(i)
End Function
Sub ShowError(strLocation, strMessage)
If blnShowErrors Then
WScript.StdErr.WriteLine "==> ERROR at [" & strLocation & "]"
WScript.StdErr.WriteLine " Number:[" & Err.Number & "], Source:[" & Err.Source & "], Desc:[" & Err.Description & "]"
WScript.StdErr.WriteLine " " & strMessage
Err.Clear
End If
End Sub
The only part pending, is to achieve this for the 'My Documents' folder within each User Profile folder.
Is this possible?
Please help.Here are a bunch of scripts to get folder size under all circumstances. Take your pick.
https://gallery.technet.microsoft.com/scriptcenter/site/search?query=get%20folder%20size&f%5B0%5D.Value=get%20folder%20size&f%5B0%5D.Type=SearchText&ac=2
¯\_(ツ)_/¯ -
How Do I Determine What WUDFHost.exe is Doing and What It's Associated With?
Since around the time of the installation of Win 8.1 Update 1 I've had a couple of new WUDFHost.exe processes that run all the time. Today I saw one of them accessing data on a backup volume, which I assume was some kind of maintenance
activity - but I'm not sure.
My question is this:
How can I determine what these processes are doing, why they're here, and what they're associated with (i.e., what feature or device has caused them to be running). I don't suspect them of causing a specific problem - my system's running fine
- but I want to know why they're running.
Process Explorer shows them to have been started by these two command lines:
"C:\Windows\System32\WUDFHost.exe" -HostGUID:{193a1820-xxxx-xxxx-xxxx-be817523f6aa} -IoEventPortName:HostProcess-ae18c507-xxxx-xxxx-xxxx-ce7a84b73fb2 -SystemEventPortName:HostProcess-76f2d2b0-xxxx-xxxx-xxxx-25de41b0af65 -IoCancelEventPortName:HostProcess-52988628-xxxx-xxxx-xxxx-54018fc05bec
-NonStateChangingEventPortName:HostProcess-c981e37e-xxxx-xxxx-xxxx-a8bd344c5791 -ServiceSID:S-1-5-80-dddddddddd-dddddddddd-dddddddddd-dddddddddd-ddddddddd -LifetimeId:8472fac1-xxxx-xxxx-xxxx-680353bbbc7f -DeviceGroupId:WpdFsGroup
"C:\Windows\System32\WUDFHost.exe" -HostGUID:{193a1820-xxxx-xxxx-xxxx-be817523f6aa} -IoEventPortName:HostProcess-af2e6f5b-xxxx-xxxx-xxxx-39a9cc13f6d4 -SystemEventPortName:HostProcess-45e89330-xxxx-xxxx-xxxx-9e76811e37aa -IoCancelEventPortName:HostProcess-3007f65c-xxxx-xxxx-xxxx-c6cdd5617944
-NonStateChangingEventPortName:HostProcess-efca4373-xxxx-xxxx-xxxx-cfc06fd83dee -ServiceSID:S-1-5-80-dddddddddd-dddddddddd-dddddddddd-dddddddddd-ddddddddd -LifetimeId:f4aa6ef0-xxxx-xxxx-xxxx-d16f4eefddb2 -DeviceGroupId:WudfDefaultDevicePool
As you can see, their function isn't obvious from what's showing.
What tools can I used to delve further into what these are and why they're here?
Thanks for any help or wisdom you can offer.
-Noel
Detailed how-to in my eBooks:
Configure The Windows 7 "To Work" Options
Configure The Windows 8 "To Work" Optionsseems to me that you're about to dive down a rabbit hole for this one..
http://en.wikipedia.org/wiki/User_Mode_Driver_Framework
http://msdn.microsoft.com/en-us/Library/Windows/Hardware/ff557565(v=vs.85).aspx
http://blogs.msdn.com/b/iliast/archive/2009/06/09/umdf-debugging-videos.aspx
might need to ask more in the driver dev forums?
Don
(Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!) -
Some time ago I opened a link in an email from a friend and later found out that his email address had been hijacked. The site the link took me to seemed innocuous, but ever since it seems that from time to time that my internet connection is very slow, as if there is not enough band width. Is it possible that my computer is infected with some sort of malware? How can I determine that? If it is infected how can the malware be removed?
Here is the report.
Problem description:
I clicked on a link in a email from a hacked email account and since then my internet connection runs very slow at times. I am concerned that my iMac may be infected with some sort of Malware
EtreCheck version: 2.1.6 (109)
Report generated January 21, 2015 at 12:26:10 PM MST
Download EtreCheck from http://etresoft.com/etrecheck
Click the [Support] links for help with non-Apple products.
Click the [Details] links for more information about that line.
Click the [Adware] links for help removing adware.
Hardware Information: ℹ️
iMac (21.5-inch, Late 2009) (Technical Specifications)
iMac - model: iMac10,1
1 3.06 GHz Intel Core 2 Duo CPU: 2-core
12 GB RAM Upgradeable
BANK 0/DIMM0
4 GB DDR3 1067 MHz ok
BANK 1/DIMM0
4 GB DDR3 1067 MHz ok
BANK 0/DIMM1
2 GB DDR3 1067 MHz ok
BANK 1/DIMM1
2 GB DDR3 1067 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
NVIDIA GeForce 9400 - VRAM: 256 MB
iMac 1920 x 1080
System Software: ℹ️
OS X 10.10.1 (14B25) - Time since boot: 1:8:36
Disk Information: ℹ️
WDC WD5000AAKS-40V2B0 disk0 : (500.11 GB)
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / : 499.25 GB (398.65 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
PIONEER DVD-RW DVRTS09
USB Information: ℹ️
Apple Inc. Built-in iSight
Apple Internal Memory Card Reader
Apple Computer, Inc. IR Receiver
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Library/Extensions
[loaded] com.symantec.kext.SymAPComm (12.7.1f4 - SDK 10.8) [Support]
[loaded] com.symantec.kext.filesecurity (12.7f4 - SDK 10.8) [Support]
[loaded] com.symantec.kext.fw (5.3.1f4 - SDK 10.8) [Support]
[loaded] com.symantec.kext.internetSecurity (5.4f4 - SDK 10.8) [Support]
[loaded] com.symantec.kext.ips (3.9.2f1 - SDK 10.8) [Support]
[loaded] com.symantec.kext.pf (5.7.1f4 - SDK 10.8) [Support]
/System/Library/Extensions
[not loaded] com.seagate.driver.PowSecDriverCore (5.2.4 - SDK 10.4) [Support]
/System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
[not loaded] com.seagate.driver.PowSecLeafDriver_10_4 (5.2.4 - SDK 10.4) [Support]
[not loaded] com.seagate.driver.PowSecLeafDriver_10_5 (5.2.4 - SDK 10.5) [Support]
[not loaded] com.seagate.driver.SeagateDriveIcons (5.2.4 - SDK 10.4) [Support]
Launch Agents: ℹ️
[running] com.brother.LOGINserver.plist [Support]
[loaded] com.google.keystone.agent.plist [Support]
[loaded] com.symantec.errorreporter-periodicagent.plist [Support]
[loaded] com.symantec.nis.application.plist [Support]
[running] com.symantec.uiagent.application.plist [Support]
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist [Support]
[running] com.fitbit.galileod.plist [Support]
[loaded] com.google.keystone.daemon.plist [Support]
[running] com.sec.faxdb.plist [Support]
[running] com.symantec.deepsight-extractor.plist [Support]
[loaded] com.symantec.errorreporter-periodic.plist [Support]
[loaded] com.symantec.liveupdate.daemon.ondemand.plist [Support]
[loaded] com.symantec.liveupdate.daemon.plist [Support]
[invalid?] com.symantec.MissedTasks.plist [Support]
[not loaded] com.symantec.nav.migrateqtf.plist [Support]
[invalid?] com.symantec.Sched501-1.plist [Support]
[running] com.symantec.sharedsettings.plist [Support]
[running] com.symantec.symdaemon.plist [Support]
[invalid?] com.symantec.symSchedDaemon.plist [Support]
User Launch Agents: ℹ️
[loaded] com.adobe.ARM.[...].plist [Support]
[invalid?] com.google.GoogleContactSyncAgent.plist [Support]
User Login Items: ℹ️
Microsoft AU Daemon Application (/Applications/Microsoft AutoUpdate.app/Contents/MacOS/Microsoft AU Daemon.app)
Fitbit Connect Menubar Helper Application (/Applications/Fitbit Connect.app/Contents/MacOS/Fitbit Connect Menubar Helper.app)
Internet Plug-ins: ℹ️
o1dbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
Default Browser: Version: 600 - SDK 10.10
Flip4Mac WMV Plugin: Version: 2.3.8.1 [Support]
AdobePDFViewerNPAPI: Version: 11.0.10 - SDK 10.6 [Support]
FlashPlayer-10.6: Version: 16.0.0.257 - SDK 10.6 [Support]
Silverlight: Version: 5.1.30317.0 - SDK 10.6 [Support]
Flash Player: Version: 16.0.0.257 - SDK 10.6 [Support]
iPhotoPhotocast: Version: 7.0
googletalkbrowserplugin: Version: 5.38.6.0 - SDK 10.8 [Support]
QuickTime Plugin: Version: 7.7.3
AdobePDFViewer: Version: 11.0.10 - SDK 10.6 [Support]
CouponPrinter-FireFox_v2: Version: Version 1.1.6 [Support]
GarminGpsControl: Version: 2.9.3.0 Release [Support]
NortonInternetSecurityBF: Version: 1.11.0 - SDK 10.6 [Support]
JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
User internet Plug-ins: ℹ️
Google Earth Web Plug-in: Version: 7.1 [Support]
Safari Extensions: ℹ️
Norton Internet Security [Installed]
3rd Party Preference Panes: ℹ️
Flash Player [Support]
Flip4Mac WMV [Support]
Norton\nQuickMenu [Support]
Time Machine: ℹ️
Skip System Files: NO
Mobile backups: OFF
Auto backup: NO - Auto backup turned off
Volumes being backed up:
Macintosh HD: Disk size: 499.25 GB Disk used: 100.60 GB
Destinations:
Seagate Backup Plus Drive [Local]
Total size: 1.00 TB
Total number of backups: 15
Oldest backup: 2013-08-01 22:49:49 +0000
Last backup: 2014-11-06 19:34:10 +0000
Size of backup disk: Adequate
Backup size 1.00 TB > (Disk used 100.60 GB X 3)
Top Processes by CPU: ℹ️
5% WindowServer
1% Fitbit Connect Menubar Helper
0% fontd
0% AppleSpell
0% launchservicesd
Top Processes by Memory: ℹ️
580 MB com.apple.dock.extra
322 MB SymDaemon
206 MB Google Chrome
168 MB spindump
155 MB mds_stores
Virtual Memory Information: ℹ️
7.46 GB Free RAM
2.59 GB Active RAM
1.51 GB Inactive RAM
1.05 GB Wired RAM
2.56 GB Page-ins
0 B Page-outs
Diagnostics Information: ℹ️
Jan 21, 2015, 11:23:52 AM /Library/Logs/DiagnosticReports/rpcsvchost_2015-01-21-112352_[redacted].cpu_res ource.diag [Details]
Jan 21, 2015, 11:18:14 AM Self test - passed -
I run a set of virtual machines via Fusion on an iMac that we run automated tests on for our website. There is a folder on each VM called /Automation that is shared.
I have a python script that runs on the host, that will find an open VM, start it up and then mount the VM's /Automation folder. So if there is only 1 VM powered on, the folder shows up in /Volumes as /Volumes/Automation. The problem is when there are 2 or more VM's powered on, because then the shares start being named /Volumes/Automation-1 and Automation-2 etc. So my question is, how can I determine which computer each share belongs to from terminal or a script?
In other words, I'm looking for something like:
/Volumes/Automation = "FirstVirtualMachineName.local"
/Volumes/Automation-1 = "SecondVirtualMachineName.local"
Is there any way to determine which computer a mounted share is connected to? In the past, I've just unmounted all /Automation folders, and then mounted them in a particular order, but that's unreliable and messy in my opinion. If anyone knows a better way, please let me know. Any help is appreciated.
Thanks,Well I think I have a workable solution. It's not perfect, but I think it will do the trick. I can put a spotlight comment on the folder similar to 'HostName=OSX-Automation-1.local' and can then retrieve that value from our server with the following python snippet:
import subprocess
out,err = subprocess.Popen(['osascript','-e','tell application \"Finder\" to get comment of \"Macintosh HD:Volumes:Automation-1\"'],stdout=subprocess.PIPE, stderr=subprocess.PIPE).communciate()
So I could just loop through each 'Automation*' folder in /Volumes and grab the name from the spotlight attributes on the directories. I don't think I really need to worry about the comments being overwritten, but I may have one of our launch daemons that run on the VM check that spotlight comment once a minute or something to ensure that the correct value is there.
If it ends up not working well in practice, I'm going to give your suggestion about a config script a shot. It would require a little more up front work, but seems as if it would be pretty solid after that.
Thanks again for helping me think it through -
How can I determine where to publish each comment in my website?
How can I determine where to publish each comment in my website?
I have one form for the comments, but I want to show them in different webpages depending on the user choice
for example, I created 6 pages blue circle, pink circle, green circle, blue square, pink square, and green square,so the user chooses pink or blue or green from one menu and circle or square from another menu which determine which page it will be displayed on.
you can see the form on the bottom of this website www.assori.com
thanks for any helpIt's my fault, I lost you there.
See I wrote the steps as they were in "Adobe Help" so please forget about the last comment.
I chose the "advanced mode" because I have more than one menu to filter (shape and color)
lets say I want the comments on my website to be displayed conditionaly, and I have two lists one for colors (blue and pink) and other for shapes (square and circle),
So I'm going to have four pages each page has its own recordset, let's say now I want to filter the recordset for (Blue Circle) page
I don't know how to do it but by following the steps in Dreamweaver help:
-Select name, and click the Select button.
-Select content, and click the Select button.
-Select shape, and click the Where button.
-Select section, and click the Where button.
-Select time, and click the Order By button.
this is how the SQL statement look likes:
SELECT mytable.name, mytable.contents
FROM mytable
WHERE mytable.shape='circle' AND mytable.`section`='blue'
ORDER BY mytable.hdw_serverTime
then to Define the variables 'circle' and 'blue' :
by clicking the Plus (+) button in the Variables area and entering the following values in the Name, Default Value, and Run-Time Value columns:
circle,square,Request("circle")
blue,blue,Request("blue")
Also I understand that I have to define a parameter but which (URL or Form) and how? I don't know -
I have about 5,000 images in a Folder. How can I determine which images are NOT in a Collection?
Create a smart collection with criteria "collection" and "does not contain"; and also with criterion Folder contains (or folder contains all)
That works if you are thinking about a specific named collection.
If you are interested in finding photos that are not in ANY collection, the usual trick is "collection" "does not contain" "a e i o u y" -
How can I determine which browser is used(Microsoft IE or Netscape)
As you probely know: Netscape doesn't support the same functionality as IE.
To gain the maxium functionality from IE without solving problems in Netscape, the customer has decided to work with two different stylesheets(one for IE and one for Netscape).
Now my question is, how can I determine in Portal in which browser(IE or Netscape) it is running.
Thanks
arny
Therefor we are using two differenThe browser ID string is a HTTP request parameter. How you get to it depends entirely on what you're programming in. You want to get the value of the User-Agent parameter (for example, in CGI, this is HTTP_USER_AGENT).
However, I'd advise against doing things this way unless you really understand how HTTP works on many levels. One common problem people run into on sending different content based on the browser is that proxy servers will happily cache everything and send content intended for one browser to another.
I have not seen any IE functionality that Netscape does not also have that is worth this hassle, but that's just my very stubborn opinion. :-)
Maybe you are looking for
-
Suppressing Warning and Error Dialogs in 8.2
All I am looking into whether or not it is possible to suppress warning and error dialogs within a form created by LiveCycle Designer 8.2. I am aware this functionality is easily configurable within ES2 - which is the driver behind why I would like
-
How to build a custom movie clip that will be used as a cell renderer for column in a grid ?
i want to build a datagrid that shows a picture and underneath it a name. the problem is i dont want to see all of the pictures, but all the pictures that have certain requirements, so i cant just make one movie clip that includes all the pictures an
-
List of bookmarks in landscape mode
In landscape mode in Safari the list of bookmarks don't disappears after choosing a bookmark.Is there a solution?
-
Verity Unable to create collection
For some reason, our Verity indexer will no longer create new collections. ColdFusion 7.0.2 standard on W2k3. If you attempt to create a collection you're greeted with the following error: Unable to create collection AHEC. Unable to create collection
-
I have writing on a photo how can i get rid of it
i have writing on a photo how can i get rid of it