上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 122 下一页

2012年9月19日

记录一个用PowerShell来获得UserProfile的某个属性的脚本

摘要: 脚本如下: Clear-Host Add-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction "SilentlyContinue" $url = "http://sps2010/" $site = Get-SPSite $url $context = Get-SPServiceContext $site ... 阅读全文

posted @ 2012-09-19 14:47 中道学友 阅读(932) 评论(0) 推荐(0)

2012年9月17日

Windows内存的一些知识点

摘要: 之前, 我曾经写过一篇文章Task Manager跟Performance Monitor的区别(Working set和Private bytes), 对Windows内存的解释并不是很清楚. 最近从头到尾听了一遍Mark Russinovich的Windows内存的讲座, 于是把笔记记录在这里. 内存基础 =========================== 内存地址分为三部分... 阅读全文

posted @ 2012-09-17 10:27 中道学友 阅读(5793) 评论(0) 推荐(1)

2012年9月11日

ASP.NET性能调优文章两篇

摘要: Chapter 15 — Measuring .NET Application Performance ASP.NET Performance Monitoring, and When to Alert Administrators 阅读全文

posted @ 2012-09-11 15:26 中道学友 阅读(285) 评论(0) 推荐(0)

2012年9月5日

[持续更新]一些有用的PowerShell收集

摘要: [2012-09-05]可以使用下面的powershell命令来dump某web application中符合某条件的timerjob, 比如说, 下面的命令dump出端口在1007的web application的variation timer job. PS> (get-spwebapplication http://servername).JobDefinitions | where {$_.DisplayName -match "variation"} | select DisplayName, IsDisabled, LastRunTime, Schedul 阅读全文

posted @ 2012-09-05 13:40 中道学友 阅读(411) 评论(0) 推荐(0)

2012年8月31日

一些ADPlus配置文件的收集

摘要: 定断点在方法ntdll!RtlEnterCriticalSection 上, 一旦执行到这个方法, 就写log, 记录callstack, 并且打印寄存器的值. 定断点在地址77f5b380 上, 动作同前一个. <ADPlus> <!-- Configuring ADPlus for breakpoints --> <!... 阅读全文

posted @ 2012-08-31 16:22 中道学友 阅读(666) 评论(0) 推荐(0)

Kernel Mode Debugging 初步 一

摘要: 什么是kernel mode debugging? Kernel debugging是使用WinDBG来检验受限制的内存, 调用栈, 内部数据结构, 内部布局, 以及运行在kernel mode的操作系统组件和驱动的系统信息的过程. 在kernel mode下, 你debug的是整个操作系统, 而不是某一个应用程序, 线程, 或者进程. 这意味着你对程序的执行拥有完全的控制权, 并且需要保证你... 阅读全文

posted @ 2012-08-31 14:44 中道学友 阅读(1858) 评论(0) 推荐(0)

2012年8月29日

HTTP Status Code速查

摘要: 其实这信息网上到处都是, 但是为了我自己查找和使用的方便, 还是转载并列在这里吧. 1xx – Informational ================ These HTTP status codes indicate a provisional response. The client computer receives one or more 1xx responses befo... 阅读全文

posted @ 2012-08-29 14:57 中道学友 阅读(14805) 评论(0) 推荐(0)

关于斜杠(slash)和反斜杠(back slash)的小知识点

摘要: 这两个总容易记混, 其实英文版的更好记一些, 往前倒的叫斜杠, 往后倒的叫反斜杠. 呵呵. 在WinDBG中, 捞到一个DirectorySearcher的Filter成员的值如下: 0:014> !do rdx Unable to enumerate managed locals, HRESULT 0x80004001 Unable to enumerate mana... 阅读全文

posted @ 2012-08-29 10:51 中道学友 阅读(4410) 评论(1) 推荐(0)

2012年8月21日

SharePoint Workflow出了问题, 除了ULS log还可以看什么日志?

摘要: 答案是Workflow Trace. 在应用程序的configuration文件中添加下面的代码, 这样Workflow相关的信息就会写在日志中了. <configuration> <system.diagnostics> <switches> <add name="System.Workflow LogToTraceListen... 阅读全文

posted @ 2012-08-21 15:01 中道学友 阅读(299) 评论(0) 推荐(0)

如何安全地解放C盘剩余磁盘空间?

摘要: 注意, 本文所涉及到的方法和步骤仅供在工作机上使用, 请不要在服务器上使用, 否则后果自负. 当然, 工作机上使用除了错后果也还是自负的. 呵呵. 笔者C盘磁盘空间只有44GB. 经常只剩下一两个G的空间, 多打开几个网页, 解压点什么东西, 或者看个dump, C盘空间就不够了. 笔者在Windows基本维护上水平很烂, 一个大学刚毕业的小伙儿帮了我的忙. 除了使用Window... 阅读全文

posted @ 2012-08-21 13:51 中道学友 阅读(5256) 评论(0) 推荐(0)

上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 122 下一页

导航

技术追求准确,态度积极向上