rblog

How to show the dbm-number (signal strength) on iPhone

My iPhone 6 seems to be a bit crappy when it comes to do what you expect a phone to do – that is being able to call someone. The most obvious reason seems to be the antenna being…crappy. I wondered if I could be able to see the signal strength as a number, so as always Google to the rescue. The solution which worked for me was found here Numbers instead of signal dots?

  1. Dial *3001#12345#* on your iPhone then press Call.
  2. You’ll now enter Field Test mode. You’ll notice a signal strength indicator on the upper left hand corner of your screen. You can toggle between signal strength bars and a number by simply taping on it
  3. At this point, press the home button to exit the app or if you would like the feature to be permanent, continue on. Don’t worry, the process is completely reversible.
  4. Hold down on the Power button until you see the ‘slide to power off’ bar. Do not power off the device
  5. Press down on the Home button until the app closes and you return to your home screen.

Note

  • You can switch between signal as dots or numbers by double clicking on the indicator
  • Note that the number is negative, the closer you are to 0, the better, all explained here at Stackoverflow in full details “What is meaning of negative dbm in signal strength.

Powershell – Loop all regex matches

Using log4net in this example to write output, replace with Write-Host etc if needed. Piping to Out-String being the magic here, or else you just get the object class



 foreach ($m in $matches.GetEnumerator()) {
    $log.debugFormat("Matches are {0}", ($m | Out-String))
 }
			

iPhone 5 – clock not working

Since I fear being hunted down by the Apple fanboys I know I have to behave when describing what I feel about my iPhone 5c right now which has a clock that does not work (the clock, how hard can it be?) And if you do not believe me, look at this link.

I do actually have my second phone now in just two weeks, both have the same issue, the whole medical history can be found posted here

Splunkd


Splunkd: Stopped
Splunkd: Stopped

Splunk> Be an IT superhero. Go home early.

Checking prerequisites...
        Checking http port [8000]: open
        Checking mgmt port [8089]: open
        .....

Reinstalling the IBM ECM System Monitor agent fails

Has just recently upgraded to IBM ECM SM FP 5.1.0.2 and today I wanted to update the configuration after the deployment done yesterday. Pretty straight forward, selected one server – did the needed – and then Install and configure. All files transferred to the server, but when running setup.bat it failed

Executing d:\IBM\ECMSM_AGENT\cala\setup.bat, please wait...
..?
The system cannot find the batch label specified - JAVA_ERROR?


Got confused, tried a second time with same result, was about to create a PMR for IBM Support, but decided to try the other server. Installed without any problems. So I gave the first server a third try…installed without any errors.

Update

Rune,

this can happen if a JAVA monitor is running. To override this issue stop the CALA service for the particular monitoring agent and try again.

Cheers

Alex

Task Execution Manager – stop Cala, then install – no problem.

How to get uptime for a Windows service

Needed to know the uptime of a service on a Windows 2012 server to verify that the suggested solution for restarting all Splunk Universial Forwarders did work, see answers.splunk.com/../how-can-i-restart-all-my-forwarders.

Solution found here /blogs.technet.com/…/how-can-i-get-the-uptime-of-a-service, did make some minor adjustments to the vbscript as shown below.

strComputer = "."

Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

Set colServices = objWMIService.ExecQuery _
    ("Select * From Win32_Service WHERE displayname = 'SplunkForwarder'")
 
For Each objService in colServices

    intProcessID = objService.ProcessID

    Set colProcesses = objWMIService.ExecQuery _
        ("Select * From Win32_Process Where ProcessID = " & intProcessID)

    For Each objProcess in colProcesses
        Wscript.Echo objService.Name + "/" + objProcess.Name + " " + objProcess.CreationDate
    Next
Next

Running it from the Powershell prompt like this PS D:\Temp> cscript.exe .\uptime.vbs